Create query_filter using multiple_domain value
-
Hi
Great plugin. I’m just trying to create a query filter, but can’t seem to get it to work. I want the meta_key, ‘author_email’ to match with the shortcode in meta_value.
I’ve used this guide to create the shortcode https://ww.wp.xz.cn/support/topic/create-shortcode-based-on-multiple-domain-settings/
function my_super_filter_function($query_args){ $query_args['meta_key'] = 'author_email'; $query_args['meta_value'] = <em>[multiple_domain_email]</em>; return $query_args; } add_filter('my_super_filter', 'my_super_filter_function');Thanks in advance 🙂
The topic ‘Create query_filter using multiple_domain value’ is closed to new replies.