🚀 Advanced Web Server Manager
Complete File Manager & Terminal - Standalone Version
By Sid Gifari | Gifari Industries
Current path:
/
/
mnt
/
web613
/
c2
/
38
/
570372438
/
htdocs
/
STRATO-apps
/
wordpress_02
/
app
/
wp-content
/
plugins
/
elementor-pro
/
modules
/
display-conditions
/
conditions
✏️
Editing: archive-of-category-condition.php
<?php namespace ElementorPro\Modules\DisplayConditions\Conditions; use ElementorPro\Modules\DisplayConditions\Classes\Comparator_Provider; use ElementorPro\Modules\DisplayConditions\Conditions\Base\Archive_Condition_Base; if ( ! defined( 'ABSPATH' ) ) { exit; // Exit if accessed directly } class Archive_Of_Category_Condition extends Archive_Condition_Base { public function __construct() { parent::__construct( 'categories' ); } public function get_name() { return 'archive_of_categories'; } public function get_label(): string { return esc_html__( 'Of Categories', 'elementor-pro' ); } public function check( $args ): bool { return parent::check_is_of_taxonomy( $args ); } protected function is_of_taxonomy( $args ): bool { return is_category( array_column( $args['categories'], 'id' ) ); } protected function get_taxonomy() { return 'category'; } }
💾 Save Changes
❌ Cancel