| Server IP : 198.38.94.13 / Your IP : 216.73.217.33 Web Server : Apache System : Linux d4744.dxb1.stableserver.net 5.14.0-611.49.1.el9_7.x86_64 #1 SMP PREEMPT_DYNAMIC Tue Apr 21 16:39:08 EDT 2026 x86_64 User : revivere ( 1140) PHP Version : 8.2.33 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : OFF | Sudo : OFF | Pkexec : OFF Directory : /home/revivere/www/wp-content/plugins/wordpress-whatsapp-support/ |
Upload File : |
<?php
/**
* WordPress Support Using WhatsApp
*
* @package WWS
* @author WeCreativez
* @copyright 2021 WeCreativez
* @license GPL-2.0-or-later
*
* @wordpress-plugin
* Plugin Name: WordPress Support Using WhatsApp
* Plugin URI: https://codecanyon.net/item/x/20963962
* Description: WordPress Support Using WhatsApp plugin provides better and easy way to communicate visitors and customers directly to your support person.
* Version: 2.5.3
* Requires at least: 4.6
* Requires PHP: 5.6
* Author: WeCreativez
* Author URI: https://wecreativez.com/
* Text Domain: wc-wws
* License: GPL v2 or later
* Domain Path: /languages/
* License URI: http://www.gnu.org/licenses/gpl-2.0.txt
*/
// Preventing to direct access
defined( 'ABSPATH' ) OR die( 'Direct access not acceptable!' );
/**
* Plugin file.
*
* @since 1.8.5
*/
if ( ! defined( 'WWS_PLUGIN_FILE' ) ) {
define( 'WWS_PLUGIN_FILE', __FILE__ );
}
/**
* Defined Plugin ABSPATH
*
* @since 1.8.5
*/
if ( ! defined( 'WWS_PLUGIN_PATH' ) ) {
define( 'WWS_PLUGIN_PATH', plugin_dir_path( WWS_PLUGIN_FILE ) );
}
/**
* Defined Plugin URL
*
* @since 1.8.5
*/
if ( ! defined( 'WWS_PLUGIN_URL' ) ) {
define( 'WWS_PLUGIN_URL', plugin_dir_url( WWS_PLUGIN_FILE ) );
}
/**
* Defined plugin version
*
* @since 1.8.5
*/
if ( ! defined( 'WWS_PLUGIN_VER' ) ) {
define( 'WWS_PLUGIN_VER', '2.5.3' );
}
/**
* This function will run when plugin activate
* @since 1.2
*/
function wws_plugin_install() {
// Run migration first
require_once WWS_PLUGIN_PATH . 'includes/deprecated/class-wws-migration.php';
require_once WWS_PLUGIN_PATH . 'includes/class-wws-install.php';
WWS_Install::install();
}
register_activation_hook( __FILE__, 'wws_plugin_install' );
// Load plugin with plugins_load
function wws_init() {
require_once WWS_PLUGIN_PATH . 'includes/class-wws-init.php';
$wws_init = new WWS_Init;
$wws_init->init();
}
add_action( 'plugins_loaded', 'wws_init', 20 );