WordPress filter hook
emd_show_shc
Fired by 6 WordPress plugins, running on 2,810+ sites between them.
How to use emd_show_shc
It's a filter: your callback receives the value and 1 more argument, and must return the (changed) value.
Add this to your theme's functions.php or a small custom plugin:
add_filter( 'emd_show_shc', function( $show_shc, $arg2 ) {
// Change $show_shc here.
return $show_shc;
}, 10, 2 );Argument names come from Video Gallery's source. Other plugins may pass different values: check the call in the plugin you're targeting below.
6 plugins that fire emd_show_shc
Sorted by active installs. Each entry shows where the plugin calls the hook and what it passes.
-
Video Gallery2,000+ installs
apply_filters( 'emd_show_shc', $show_shc, 'video_grid' )includes/entities/emd-video-shortcodes.php:59 -
Customer Support Ticket System & Helpdesk400+ installs
apply_filters( 'emd_show_shc', $show_shc, 'support_tickets' )includes/entities/emd-ticket-shortcodes.php:106 -
Employee Spotlight300+ installs
apply_filters( 'emd_show_shc', $show_shc, 'employee_circle_grid' )includes/entities/emd-employee-shortcodes.php:59 -
Campus Directory80+ installs
apply_filters( 'emd_show_shc', $show_shc, 'people_grid' )includes/entities/emd-person-shortcodes.php:59 -
Event RSVP and Simple Event Management Plugin20+ installs
apply_filters( 'emd_show_shc', $show_shc, 'wpee_venue_list' )includes/entities/emd-event-venues-shortcodes.php:59 -
Easy Accordion FAQ and Knowledge Base Software for WordPress10+ installs
apply_filters( 'emd_show_shc', $show_shc, 'std_panel' )includes/entities/emd-panel-shortcodes.php:59
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.