/**
* The plugin bootstrap file
*
* @link https://yourwebsite.com
* @since 1.0.0
* @package Seo_Content_Assistant_Pro
*
* @wordpress-plugin
* Plugin Name: SEO Content Assistant Pro
* Plugin URI: https://yourwebsite.com/seo-content-assistant-pro
* Description: A comprehensive SEO content optimization and technical SEO analysis tool.
* Version: 1.0.0
* Author: Your Name
* Author URI: https://yourwebsite.com
* License: GPL-2.0+
* License URI: http://www.gnu.org/licenses/gpl-2.0.txt
* Text Domain: seo-content-assistant-pro
* Domain Path: /languages
*/
// If this file is called directly, abort.
if (!defined('WPINC')) {
die;
}
/**
* Currently plugin version.
*/
define('SCAP_VERSION', '1.0.0');
/**
* Plugin base path.
*/
define('SCAP_PLUGIN_PATH', plugin_dir_path(__FILE__));
/**
* Plugin base URL.
*/
define('SCAP_PLUGIN_URL', plugin_dir_url(__FILE__));
/**
* The code that runs during plugin activation.
*/
function activate_seo_content_assistant_pro() {
require_once SCAP_PLUGIN_PATH . 'includes/class-scap-activator.php';
SCAP_Activator::activate();
}
/**
* The code that runs during plugin deactivation.
*/
function deactivate_seo_content_assistant_pro() {
require_once SCAP_PLUGIN_PATH . 'includes/class-scap-deactivator.php';
SCAP_Deactivator::deactivate();
}
register_activation_hook(__FILE__, 'activate_seo_content_assistant_pro');
register_deactivation_hook(__FILE__, 'deactivate_seo_content_assistant_pro');
/**
* Autoload classes.
*/
spl_autoload_register(function ($class) {
// Project-specific namespace prefix
$prefix = 'SCAP_';
// Base directory for the namespace prefix
$base_dir = SCAP_PLUGIN_PATH . 'includes/';
// Check if the class uses the namespace prefix
$len = strlen($prefix);
if (strncmp($prefix, $class, $len) !== 0) {
return;
}
// Get the relative class name
$relative_class = substr($class, $len);
// Replace the namespace prefix with the base directory
$file = $base_dir . 'class-' . strtolower(str_replace('_', '-', $relative_class)) . '.php';
// If the file exists, require it
if (file_exists($file)) {
require $file;
}
});
/**
* The core plugin class that is used to define internationalization,
* admin-specific hooks, and public-facing site hooks.
*/
require_once SCAP_PLUGIN_PATH . 'includes/class-scap-core.php';
/**
* Load plugin text domain.
*/
function scap_load_plugin_textdomain() {
load_plugin_textdomain(
'seo-content-assistant-pro',
false,
dirname(plugin_basename(__FILE__)) . '/languages/'
);
}
/**
* Begins execution of the plugin.
*
* @since 1.0.0
*/
function run_seo_content_assistant_pro() {
// Initialize the core class
$plugin = new SCAP_Core();
// Add text domain loading to init hook with priority 5
add_action('init', 'scap_load_plugin_textdomain', 5);
// Initialize the plugin
$plugin->init();
}
// Start the plugin after all plugins are loaded
add_action('plugins_loaded', 'run_seo_content_assistant_pro', 10);
Embark on an extraordinary journey with us! Whether you’re drawn to the thrill of hot air balloons, the freedom of gyrocopter rides, or the adrenaline rush of tandem paragliding, we’re here to make your adventure dreams a reality.
At Pamukkale Flights, we specialize in creating unforgettable moments above the clouds. Our experienced pilots and state-of-the-art equipment ensure not only your safety but a thrilling and enchanting experience. Feel the wind beneath your wings as you soar over the mesmerizing landscapes of Pamukkale.
Got questions or ready to book your sky-high escapade? Don’t hesitate to reach out! Our team is here to assist you every step of the way. Get ready to redefine your sense of adventure with Pamukkale Flights — where every flight is a journey of a lifetime!