403Webshell
Server IP : 192.158.238.246  /  Your IP : 216.73.216.21
Web Server : LiteSpeed
System : Linux uniform.iwebfusion.net 4.18.0-553.27.1.lve.1.el8.x86_64 #1 SMP Wed Nov 20 15:58:00 UTC 2024 x86_64
User : jenniferflocom ( 1321)
PHP Version : 8.1.32
Disable Function : NONE
MySQL : OFF  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : ON  |  Sudo : OFF  |  Pkexec : OFF
Directory :  /proc/7779/root/proc/7779/cwd/themes/open-shop/customizer/section/woo/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /proc/7779/root/proc/7779/cwd/themes/open-shop/customizer/section/woo/product.php
<?php
//General Section
if ( ! class_exists( 'WooCommerce' ) ){
    return;
}
// product animation
$wp_customize->add_setting('open_shop_woo_product_animation', array(
        'default'        => 'none',
        'capability'     => 'edit_theme_options',
        'sanitize_callback' => 'open_shop_sanitize_select',
    ));
$wp_customize->add_control( 'open_shop_woo_product_animation', array(
        'settings'=> 'open_shop_woo_product_animation',
        'label'   => __('Product Image Hover Style','open-shop'),
        'section' => 'open-shop-woo-shop',
        'type'    => 'select',
        'choices'    => array(
        'none'            => __('None','open-shop'),
        'zoom'            => __('Zoom','open-shop'),
        'swap'            => __('Swap (Pro)','open-shop'),         
        ),
    ));
/*******************/
//Quick view
/*******************/
$wp_customize->add_setting('open_shop_woo_quickview_enable', array(
                'default'               => true,
                'sanitize_callback'     => 'open_shop_sanitize_checkbox',
            ) );
$wp_customize->add_control( new WP_Customize_Control( $wp_customize,'open_shop_woo_quickview_enable', array(
                'label'         => esc_html__('Enable Quick View.', 'open-shop'),
                'type'          => 'checkbox',
                'section'       => 'open-shop-woo-shop',
                'settings'      => 'open_shop_woo_quickview_enable',
            ) ) );
/****************/
// doc link
/****************/
$wp_customize->add_setting('open_shop_product_style_link_more', array(
    'sanitize_callback' => 'open_shop_sanitize_text',
    ));
$wp_customize->add_control(new Open_Shop_Misc_Control( $wp_customize, 'open_shop_product_style_link_more',
            array(
        'section'     => 'open-shop-woo-shop',
        'type'        => 'doc-link',
        'url'         => 'https://themehunk.com/docs/open-shop/#style-product',
        'description' => esc_html__( 'To know more go with this', 'open-shop' ),
        'priority'   =>100,
    )));

Youez - 2016 - github.com/yon3zu
LinuXploit