Server IP : 185.246.164.236 / Your IP : 216.73.216.0 Web Server : Apache System : Linux linux105 6.1.0-31-amd64 #1 SMP PREEMPT_DYNAMIC Debian 6.1.128-1 (2025-02-07) x86_64 User : web9 ( 5012) PHP Version : 7.4.33 Disable Function : pcntl_alarm,pcntl_fork,pcntl_waitpid,pcntl_wait,pcntl_wifexited,pcntl_wifstopped,pcntl_wifsignaled,pcntl_wifcontinued,pcntl_wexitstatus,pcntl_wtermsig,pcntl_wstopsig,pcntl_signal,pcntl_signal_get_handler,pcntl_signal_dispatch,pcntl_get_last_error,pcntl_strerror,pcntl_sigprocmask,pcntl_sigwaitinfo,pcntl_sigtimedwait,pcntl_exec,pcntl_getpriority,pcntl_setpriority,pcntl_async_signals,pcntl_unshare, MySQL : OFF | cURL : ON | WGET : OFF | Perl : OFF | Python : OFF | Sudo : OFF | Pkexec : OFF Directory : /var/www/clients/client9/web9/web/wp-content/plugins/wc-smart-cod/ |
Upload File : |
<?php /** * The plugin bootstrap file * * This file is read by WordPress to generate the plugin information in the plugin * admin area. This file also includes all of the dependencies used by the plugin, * registers the activation and deactivation functions, and defines a function * that starts the plugin. * * @link https://www.linkedin.com/in/stratos-vetsos-08262473/ * @since 1.0.0 * @package Wc_Smart_Cod * * @wordpress-plugin * Plugin Name: WooCommerce Smart COD * Plugin URI: https://wordpress.org/plugins/wc-smart-cod/ * Description: A powerful plugin that extends WooCommerce COD (Cash on Delivery) Gateway, supporting multiple extra fees and a multiple factor gateway restriction. * Version: 1.6.1 * Author: woosmartcod.com * Author URI: https://woosmartcod.com * License: GPL-2.0+ * License URI: http://www.gnu.org/licenses/gpl-2.0.txt * Text Domain: wc-smart-cod * Domain Path: /languages * WC requires at least: 2.2 * WC tested up to: 6.3.1 */ // If this file is called directly, abort. if (!defined('WPINC')) { die; } /** * The code that runs during plugin activation. * This action is documented in includes/class-wc-smart-cod-activator.php */ function activate_wc_smart_cod() { require_once plugin_dir_path(__FILE__) . 'includes/class-wc-smart-cod-activator.php'; Wc_Smart_Cod_Activator::activate(); } /** * The code that runs during plugin deactivation. * This action is documented in includes/class-wc-smart-cod-deactivator.php */ function deactivate_wc_smart_cod() { require_once plugin_dir_path(__FILE__) . 'includes/class-wc-smart-cod-deactivator.php'; Wc_Smart_Cod_Deactivator::deactivate(); } register_activation_hook(__FILE__, 'activate_wc_smart_cod'); register_deactivation_hook(__FILE__, 'deactivate_wc_smart_cod'); /** * The core plugin class that is used to define internationalization, * admin-specific hooks, and public-facing site hooks. */ require plugin_dir_path(__FILE__) . 'includes/class-wc-smart-cod.php'; /** * Begins execution of the plugin. * * Since everything within the plugin is registered via hooks, * then kicking off the plugin from this point in the file does * not affect the page life cycle. * * @since 1.0.0 */ function run_wc_smart_cod() { $plugin = new Wc_Smart_Cod(); } run_wc_smart_cod();