EMC 6.0 has 1 actions and 16 filters, read directly from its source code on Nov 17, 2026. The list updates automatically when a new version is released.
How to use these hooks
Actions let you run your own code at a specific moment. Filters let you change a value before the plugin uses it. Put your code in a child theme's functions.php or a code-snippets plugin, never in the plugin's own files, because updates overwrite them.
// Run your own code when EMC fires an action
add_action( 'emcs_before_calendar_embed', function( $url ) {
// Your code runs here.
}, 10, 1 );
// Change a value EMC is about to use
add_filter( 'emcs_promotions', function( $value ) {
// Change $value here.
return $value;
}, 10, 1 );Parts of a name in {braces} are filled in at runtime (for example a post type or field ID). Choose Example on any hook for a ready-to-edit snippet.
All hooks
-
emcs_promotions
filterapply_filters( 'emcs_promotions', true ); -
emcs_availability_prefix
filterapply_filters( 'emcs_availability_prefix', '', $atts, $availability ); -
emcs_before_calendar_embed
actiondo_action( 'emcs_before_calendar_embed', $this->url ); -
emcs_embed_final_url
filterapply_filters( 'emcs_embed_final_url', $this->url, $atts ); -
apply_filters( 'emcs_inline_button_widget_html', $html, $atts ); -
apply_filters( 'emcs_inline_button_widget_style', $style, $atts ); -
apply_filters( 'emcs_inline_button_widget_text', $atts['text'], $atts ); -
emcs_inline_widget_html
filterapply_filters( 'emcs_inline_widget_html', $html, $atts ); -
emcs_inline_widget_style
filterapply_filters( 'emcs_inline_widget_style', $style, $atts ); -
emcs_large_inline_button
filterapply_filters( 'emcs_large_inline_button', '20px' ); -
emcs_medium_inline_button
filterapply_filters( 'emcs_medium_inline_button', '15px' ); -
emcs_popup_button_widget_css
filterapply_filters( 'emcs_popup_button_widget_css', '', $atts ); -
apply_filters( 'emcs_popup_button_widget_html', $html, $atts ); -
emcs_popup_text_widget_html
filterapply_filters( 'emcs_popup_text_widget_html', $html, $atts ); -
emcs_popup_text_widget_style
filterapply_filters( 'emcs_popup_text_widget_style', $style, $atts ); -
emcs_popup_text_widget_text
filterapply_filters( 'emcs_popup_text_widget_text', $atts['text'], $atts ); -
emcs_small_inline_button
filterapply_filters( 'emcs_small_inline_button', '10px' );
Generated from EMC's GPL-licensed source code. Hooks inside bundled third-party libraries are not listed.
Can't find the right hook?
We can build the customisation for you. Describe what you need: