get( 'Version' ) ); define( 'HYBRIDEXTEND_THEME_VERSION', $hybridextend_theme->parent()->get( 'Version' ) ); define( 'HYBRIDEXTEND_THEME_NAME', $hybridextend_theme->parent()->get( 'Name' ) ); define( 'HYBRIDEXTEND_THEME_AUTHOR_URI', $hybridextend_theme->parent()->get( 'AuthorURI' ) ); } else { define( 'HYBRIDEXTEND_THEME_VERSION', $hybridextend_theme->get( 'Version' ) ); define( 'HYBRIDEXTEND_THEME_NAME', $hybridextend_theme->get( 'Name' ) ); define( 'HYBRIDEXTEND_THEME_AUTHOR_URI', $hybridextend_theme->get( 'AuthorURI' ) ); } } /** * Loads the core framework files. These files are needed before loading anything else in the * framework because they have required functions for use. Many of the files run filters that * may be removed in theme setup functions. * * @since 1.0.0 * @access public * @return void */ function core() { /* Load the data set functions. Also needed for sanitization. */ require_once( HYBRIDEXTEND_DIR . 'includes/enum.php' ); /* Load Helper functions */ require_once( HYBRIDEXTEND_DIR . 'includes/helpers.php' ); /* Load the scripts functions. */ require_once( HYBRIDEXTEND_DIR . 'includes/scripts.php' ); /* Load the styles functions. */ require_once( HYBRIDEXTEND_DIR . 'includes/styles.php' ); /* Load the template functions. */ require_once( HYBRIDEXTEND_DIR . 'includes/template.php' ); /* Load Color functions */ require_once( HYBRIDEXTEND_DIR . 'includes/color.php' ); /* Load the sanitization functions. */ require_once( HYBRIDEXTEND_DIR . 'includes/sanitization.php' ); } /** * Load HybridExtend Customize framework. * * @since 2.0.0 * @access public * @return void */ function customize() { /* Load the HybridExtend Customize framework */ require_once( HYBRIDEXTEND_DIR . 'customize/customize.php' ); } /** * Load extensions (external projects). * * @since 1.0.0 * @access public * @return void */ function extensions() { /* Load the Widgets extension if supported. */ require_if_theme_supports( 'hybridextend-widgets', HYBRIDEXTEND_DIR . 'extensions/widgets.php' ); } } }