=')){ // Let Pagelayer load // Lets check for older versions }else{ if(!function_exists( 'get_plugin_data' )){ include_once ABSPATH . 'wp-admin/includes/plugin.php'; } $pagelayer_pro_info = get_plugin_data(WP_PLUGIN_DIR . '/pagelayer-pro/pagelayer-pro.php'); if( !empty($pagelayer_pro_info) && version_compare($pagelayer_pro_info['Version'], '1.8.6', '<') ){ return; } } } // If PAGELAYER_VERSION exists then the plugin is loaded already ! if(defined('PAGELAYER_VERSION')) { return; } define('PAGELAYER_FILE', __FILE__); include_once(dirname(__FILE__).'/init.php');