/** * Load the core of the plugin, added to "after_theme_setup" so you can load the core only if it isn't loaded by plugin * * @return void * @since 1.0 * @author Antonino Scarfì <*****@*****.**> * @author Andrea Grillo <*****@*****.**> */ function yit_sliders_loader() { if (!defined('YIT') || !defined('YIT_CORE_PLUGIN')) { require_once 'plugin-fw/yit-plugin.php'; } if (yit_check_plugin_support()) { require_once 'yit-slider.php'; } }
/** * Load the core of the plugin, added to "after_theme_setup" so you can load the core only if it isn't loaded by plugin * * @return void * @since 1.0 * @author Antonino Scarfì <*****@*****.**> * @author Andrea Grillo <*****@*****.**> */ function yit_feature_tabs_loader() { if ( ! defined( 'YIT' ) || ! defined( 'YIT_CORE_PLUGIN' ) ) { require_once( 'plugin-fw/yit-plugin.php' ); } if( yit_check_plugin_support() ) { require_once 'yit-feature-tabs.php'; } }
/** * Load the core of the plugin, added to "after_theme_setup" so you can load the core only if it isn't loaded by plugin * * @return void * @since 1.0 * @author Antonino Scarfì <*****@*****.**> * @author Andrea Grillo <*****@*****.**> */ function yit_contactform_loader() { if (!defined('YIT') || !defined('YIT_CORE_PLUGIN')) { require_once 'plugin-fw/yit-plugin.php'; } if (yit_check_plugin_support()) { require_once 'yit-contact-form.php'; } }
/** * Load the core of the plugin, added to "after_theme_setup" so you can load the core only if it isn't loaded by plugin * * @return void * @since 1.0 * @author Antonino Scarfì <*****@*****.**> * @author Andrea Grillo <*****@*****.**> */ function yit_sitemap_loader() { if (file_exists('plugin-fw/yit-plugin.php') && (!defined('YIT') || !defined('YIT_CORE_PLUGIN'))) { require_once 'plugin-fw/yit-plugin.php'; } if (yit_check_plugin_support()) { require_once 'yit-sitemap.php'; } }
/** * Load the core of the plugin, added to "after_theme_setup" so you can load the core only if it isn't loaded by plugin * * @return void * @since 1.0 * @author Antonino Scarfì <*****@*****.**> * @author Andrea Grillo <*****@*****.**> */ function yit_portfolio_loader() { if ( ! defined( 'YIT' ) || ! defined( 'YIT_CORE_PLUGIN' ) ) { require_once( 'plugin-fw/yit-plugin.php' ); } if( yit_check_plugin_support() ) { require_once 'yit-portfolio.php'; } }
/** * Load the core of the plugin, added to "after_theme_setup" so you can load the core only if it isn't loaded by plugin * * @return void * @since 1.0 * @author Antonino Scarfì <*****@*****.**> * @author Andrea Grillo <*****@*****.**> */ function yit_shortcodes_loader() { if (file_exists('plugin-fw/yit-plugin.php') && (!defined('YIT') || !defined('YIT_CORE_PLUGIN'))) { require_once 'plugin-fw/yit-plugin.php'; } if (defined('YIT_FREE') && YIT_FREE) { deactivate_plugins(plugin_basename(__FILE__)); return; } if (yit_check_plugin_support()) { require_once 'yit-shortcodes.php'; } }