Why Gemfury? Push, build, and install  RubyGems npm packages Python packages Maven artifacts PHP packages Go Modules Debian packages RPM packages NuGet packages

Repository URL to install this package:

Details    
jsarnowski/cartflows / class-cartflows-theme-support.php
Size: Mime:
<?php
/**
 * Adding the action on init to load the theme compatibility files.
 *
 * @package CartFlows
 */

// Exit if accessed directly.
if ( ! defined( 'ABSPATH' ) ) {
	exit;
}
add_action( 'init', 'load_cartflows_theme_support', 100 );

/**
 * Load popular theme fallback files.
 *
 * @since X.X.X
 *
 * @return void
 */
function load_cartflows_theme_support() {

	if ( defined( 'ASTRA_THEME_VERSION' ) ) {

		/**
		 * Astra
		 */
		include_once CARTFLOWS_DIR . 'theme-support/astra/class-cartflows-astra-compatibility.php';
	}

}