Hot answers tagged

1

You can use the action pre_get_posts . Just make sure to check is_post_type_archive('question') and is_admin() to prevent affect queries in the whole website.


1

Possible solutions: Check if there's a prefix which you setup for the custom field (https://en.bainternet.info/tax-meta-class-faq/#comment-1107) Go to the Tax-meta-class/Tax-meta-class.php file and find the function you're calling and debug the issue: // Tax-meta-class.php public function get_tax_meta($term_id,$key,$multi = false){ $t_id = ...


1

It's nothing to do with the class itself - you are using the reserved input name post, which is conflicting with WordPress core: <input type="checkbox" name="post[]" value="%s" /> Change it something unique to your theme/plugin e.g. name="my_plugin_ids[]"


1

The meta_value field is longtext, which a quick google reports is 4,294,967,295 characters - I doubt you're exceeding that. Chances are it's an issue with PHP, specifically post_max_size - if this is less than the "huge amount of data" you are referring to, PHP will simply truncate $_POST and you end up with nothing.



Only top voted, non community-wiki answers of a minimum length are eligible