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

jsarnowski / jsarnowski/cartflows   php

Repository URL to install this package:

Version: 1.6.11 

/ class-cartflows-theme-support.php

<?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';
	}

}