File "product-search.php"
Full path: /home/kosmetik/public_html/wp-content/plugins/elementor-pro/modules/woocommerce/conditions/product-search.php
File
size: 647 B
MIME-type: text/x-php
Charset: utf-8
Download Open Edit Advanced Editor Back
<?php
namespace ElementorPro\Modules\Woocommerce\Conditions;
use ElementorPro\Modules\ThemeBuilder as ThemeBuilder;
use ElementorPro\Modules\Woocommerce\Module;
if ( ! defined( 'ABSPATH' ) ) {
exit; // Exit if accessed directly
}
class Product_Search extends ThemeBuilder\Conditions\Condition_Base {
public static function get_type() {
return 'archive';
}
public function get_name() {
return 'product_search';
}
public static function get_priority() {
return 40;
}
public function get_label() {
return __( 'Search Results', 'elementor-pro' );
}
public function check( $args ) {
return Module::is_product_search();
}
}