[ SYSTEM ]: Linux wordpress 6.1.0-41-amd64 #1 SMP PREEMPT_DYNAMIC Debian 6.1.158-1 (2025-11-09) x86_64
[ SERVER ]: Apache/2.4.66 (Debian) | PHP: 8.2.30
[ USER ]: www-data | IP: 172.19.30.54
GEFORCE FILE MANAGER
/
var
/
www
/
html
/
wordpress
/
wp-content
/
plugins
/
elementor-pro
/
modules
/
query-control
/
controls
/
UPLOAD:
NAME
SIZE
QUICK PERMS
ACTIONS
📄 group-control-related.php
3,790 B
SET
[ EDIT ]
|
[ DEL ]
📄 group-control-taxonomy.php
978 B
SET
[ EDIT ]
|
[ DEL ]
DELETE SELECTED
[ CLOSE ]
EDIT: group-control-taxonomy.php
<?php namespace ElementorPro\Modules\QueryControl\Controls; use Elementor\Controls_Manager; class Group_Control_Taxonomy extends Group_Control_Query { public static function get_type() { return 'taxonomy-query'; } protected function get_fields_array( $name ) { $tab_keys = $this->get_tabs_keys( $name . '_' ); $fields = parent::get_fields_array( $name ); $new_fields = []; foreach ( $fields as $key => $field ) { if ( 'query_args' === $key ) { $new_fields['filter_by'] = [ 'label' => esc_html__( 'Filter By', 'elementor-pro' ), 'type' => Controls_Manager::SELECT, 'default' => 'show_all', 'options' => [ 'show_all' => esc_html__( 'Show All', 'elementor-pro' ), 'manual_selection' => esc_html__( 'Manual Selection', 'elementor-pro' ), ], 'tabs_wrapper' => $tab_keys['tabs_wrapper'], 'inner_tab' => $tab_keys['include_wrapper'], ]; } $new_fields[ $key ] = $field; } return $new_fields; } }