You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
31 lines
755 B
PHTML
31 lines
755 B
PHTML
7 months ago
|
<?php
|
||
|
/**
|
||
|
* Theme options quick feature entry file.
|
||
|
*
|
||
|
* Divi Cloud Theme Options Library.
|
||
|
*
|
||
|
* @package Divi
|
||
|
* @subpackage Epanel
|
||
|
* @since ??
|
||
|
*/
|
||
|
|
||
|
if ( ! defined( 'ET_THEME_OPTIONS_DIR' ) ) {
|
||
|
define( 'ET_THEME_OPTIONS_DIR', get_template_directory() . '/epanel/theme-options-library/' );
|
||
|
}
|
||
|
|
||
|
require_once trailingslashit( ET_THEME_OPTIONS_DIR ) . 'constants.php';
|
||
|
require_once trailingslashit( ET_THEME_OPTIONS_DIR ) . 'api.php';
|
||
|
|
||
|
if ( ! function_exists( 'et_init_theme_options_library' ) ) :
|
||
|
/**
|
||
|
* Init Theme Options Library.
|
||
|
*
|
||
|
* @return void
|
||
|
*/
|
||
|
function et_init_theme_options_library() {
|
||
|
require_once trailingslashit( ET_THEME_OPTIONS_DIR ) . 'ThemeOptionsLibrary.php';
|
||
|
}
|
||
|
endif;
|
||
|
|
||
|
add_action( 'init', 'et_init_theme_options_library' );
|