lightspeeddevelopment /
lsx
| 1 | <?php |
||
| 2 | /** |
||
| 3 | * LSX functions and definitions. |
||
| 4 | * |
||
| 5 | * @package lsx |
||
| 6 | */ |
||
| 7 | |||
| 8 | use LSX\Core; |
||
| 9 | |||
| 10 | if ( ! defined( 'ABSPATH' ) ) { |
||
| 11 | exit; |
||
| 12 | } |
||
| 13 | |||
| 14 | define( 'LSX_VERSION', '4.0.0' ); |
||
| 15 | |||
| 16 | require_once get_template_directory() . '/includes/classes/class-core.php'; |
||
| 17 | |||
| 18 | /** |
||
| 19 | * Contains the LSX theme object |
||
| 20 | * |
||
| 21 | * @return void |
||
|
0 ignored issues
–
show
Coding Style
introduced
by
Loading history...
|
|||
| 22 | */ |
||
| 23 | function lsx() { |
||
| 24 | global $lsx; |
||
| 25 | if ( null === $lsx ) { |
||
| 26 | $lsx = new Core(); |
||
| 27 | $lsx->init(); |
||
| 28 | } |
||
| 29 | return $lsx; |
||
| 30 | } |
||
| 31 | lsx(); |