![]() Server : Apache System : Linux server2.corals.io 4.18.0-348.2.1.el8_5.x86_64 #1 SMP Mon Nov 15 09:17:08 EST 2021 x86_64 User : corals ( 1002) PHP Version : 7.4.33 Disable Function : exec,passthru,shell_exec,system Directory : /proc/self/cwd/wp-content/plugins/elementor-pro/modules/woocommerce/conditions/ |
<?php namespace ElementorPro\Modules\Woocommerce\Conditions; use ElementorPro\Modules\ThemeBuilder as ThemeBuilder; if ( ! defined( 'ABSPATH' ) ) { exit; // Exit if accessed directly } class Shop_Page extends ThemeBuilder\Conditions\Condition_Base { public static function get_type() { return 'singular'; } public function get_name() { return 'shop_page'; } public static function get_priority() { return 40; } public function get_label() { return esc_html__( 'Shop Page', 'elementor-pro' ); } public function check( $args ) { return is_shop(); } }