| Server IP : 104.21.21.239 / Your IP : 216.73.216.11 Web Server : Apache/2.4.68 (Amazon Linux) OpenSSL/3.5.5 System : Linux ip-172-31-69-123.ec2.internal 6.1.176-223.369.amzn2023.x86_64 #1 SMP PREEMPT_DYNAMIC Fri Jul 24 13:34:27 UTC 2026 x86_64 User : ec2-user ( 1000) PHP Version : 8.4.23 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : OFF | Sudo : ON | Pkexec : ON Directory : /home/home2/domains/siparentOLD/wp-content/plugins/advanced-post-manager/ |
Upload File : |
<?php /** * A sample of acceptable filter/column data */ $filters_and_columns = array( 'key' => array( // Key is required. // Required 'name' => 'Filter / Column title', // If it's a meta query, set this to the meta key to be queried 'meta' => 'Piece of post meta to query', // The taxonomy. APM by default automatically adds taxonomies. 'taxonomy' => 'registered taxonomy', // Your query type doesn't fit the standard kind 'custom_type' => 'a key for registering your own query handlers', // A way to limit the queried field to a dropdown rather than a search box 'options' => array( 'meta_value' => 'Nicer Title', 'another_meta_value' => 'another_meta_value', ), // optional, for use with "meta" filters. Useful for when you want ordering to assume that meta_values are a certain type, such as numeric or date. 'cast' => 'SIGNED', // what type of field to use in the meta box 'field' => 'text', // read the value. 'desc' => 'Optional supporting text for display inside a metabox', // explicitly put in a particular metabox. Pay attention to the $metaboxes arg on tribe_setup_apm() 'metabox' => 'somemetaboxid', // Set an explicit order inside a metabox 'meta_order' => 3, // Some 'types' take additional arguments ), );