-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathfunctions.php
More file actions
55 lines (49 loc) · 1017 Bytes
/
Copy pathfunctions.php
File metadata and controls
55 lines (49 loc) · 1017 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
<?php
/**
* Kolofon theme bootstrap.
*
* @package Kolofon
* @since 1.0.0
*/
namespace Kolofon;
defined( 'ABSPATH' ) || exit;
define( 'KOLOFON_VERSION', '5.7.0' );
define( 'KOLOFON_DIR', trailingslashit( get_template_directory() ) );
define( 'KOLOFON_URI', trailingslashit( get_template_directory_uri() ) );
define( 'KOLOFON_OPTION_KEY', 'kolofon_options' );
/**
* Load module files. Order matters: defaults first, then everything that reads defaults.
*/
$kolofon_modules = array(
'defaults',
'hooks',
'options-schema',
'setup',
'activation',
'branding',
'login',
'enqueue',
'webfonts',
'security',
'options',
'settings-io',
'social',
'email-guard',
'post-list',
'page-states',
'chrome',
'sections',
'tags',
'meta',
'syndication',
'print-branding',
'docs',
'system-report',
'dynamic-css',
'blocks',
'migration-notice',
);
foreach ( $kolofon_modules as $kolofon_module ) {
require KOLOFON_DIR . 'inc/' . $kolofon_module . '.php';
}
unset( $kolofon_modules, $kolofon_module );