-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathfunctions.php
More file actions
25 lines (22 loc) · 739 Bytes
/
functions.php
File metadata and controls
25 lines (22 loc) · 739 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
<?php
/**
* Brisko functions and definitions.
*
* @see https://developer.wordpress.org/themes/basics/theme-functions/
*/
require __DIR__ . '/autoloader.php';
// @phpstan-ignore-next-line
$loader = Brisko\Autoloader::init()
->addNamespace('Brisko\\', 'src', true)
->addFiles([
"src/Customize/helpers.php",
"src/inc/actions.php",
"src/inc/functions.php",
]);
// Theme version.
\define( 'BRISKO_VERSION', brisko()->version() );
// \define( 'BRISKO_DEBUG', defined( 'WP_DEBUG' ) && true === constant('WP_DEBUG') );
// \define( 'BRISKO_DIR', trailingslashit( get_template_directory() ) );
// \define( 'BRISKO_URL', trailingslashit( get_template_directory_uri() ) );
// Theme setup.
brisko()->setup();