WordPress action hook
emd_set_adv_filtering
Fired by 9 WordPress plugins, running on 2,970+ sites between them.
How to use emd_set_adv_filtering
It's an action: your callback runs at that point and receives 6 arguments. Nothing needs to be returned.
Add this to your theme's functions.php or a small custom plugin:
add_action( 'emd_set_adv_filtering', function( $post_type, $search_args, $boxes, $filter_args, $app, $plural_label ) {
// Your code runs here.
}, 10, 6 );Argument names come from Video Gallery's source. Other plugins may pass different values: check the call in the plugin you're targeting below.
9 plugins that fire emd_set_adv_filtering
Sorted by active installs. Each entry shows where the plugin calls the hook and what it passes.
-
Video Gallery2,000+ installs
do_action( 'emd_set_adv_filtering', $this->post_type, $search_args, $this->boxes, $filter_args, $this->app, $this->plural_label )includes/entities/class-emd-video.php:371 -
Customer Support Ticket System & Helpdesk400+ installs
do_action( 'emd_set_adv_filtering', $this->post_type, $search_args, $this->boxes, $filter_args, $this->app, $this->plural_label )includes/entities/class-emd-agent.php:361 -
Employee Spotlight300+ installs
do_action( 'emd_set_adv_filtering', $this->post_type, $search_args, $this->boxes, $filter_args, $this->app, $this->plural_label )includes/entities/class-emd-employee.php:525 -
Employee Directory100+ installs
do_action( 'emd_set_adv_filtering', $this->post_type, $search_args, $this->boxes, $filter_args, $this->app, $this->plural_label )includes/entities/class-emd-employee.php:630 -
Campus Directory80+ installs
do_action( 'emd_set_adv_filtering', $this->post_type, $search_args, $this->boxes, $filter_args, $this->app, $this->plural_label )includes/entities/class-emd-person.php:600 -
Simple Contact Form Plugin for WordPress40+ installs
do_action( 'emd_set_adv_filtering', $this->post_type, $search_args, $this->boxes, $filter_args, $this->app, $this->plural_label )includes/entities/class-emd-contact.php:579 -
Event RSVP and Simple Event Management Plugin20+ installs
do_action( 'emd_set_adv_filtering', $this->post_type, $search_args, $this->boxes, $filter_args, $this->app, $this->plural_label )includes/entities/class-emd-event-attendee.php:346 -
Project Management, Bug and Issue Tracking Plugin20+ installs
do_action( 'emd_set_adv_filtering', $this->post_type, $search_args, $this->boxes, $filter_args, $this->app, $this->plural_label )includes/entities/class-emd-issue.php:773 -
Easy Accordion FAQ and Knowledge Base Software for WordPress10+ installs
do_action( 'emd_set_adv_filtering', $this->post_type, $search_args, $this->boxes, $filter_args, $this->app, $this->plural_label )includes/entities/class-emd-panel.php:479
Need a customisation built on this hook?
Tell us what you want to change and which plugin it's for. We'll write it, test it and send it back as a small plugin.