Events Shortcodes For The Events Calendar 3.0.1 has 16 actions and 34 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 Events Shortcodes For The Events Calendar fires an action
add_action( 'cpfm_register_notice', function() {
// Your code runs here.
}, 10, 1 );
// Change a value Events Shortcodes For The Events Calendar is about to use
add_filter( 'cpfm_environment', function( $env ) {
// Change $env here.
return $env;
}, 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
-
cpfm_environment
filter/** * Filter the shared CPFM environment snapshot. */ apply_filters( 'cpfm_environment', $env ); -
cpfm_register_notice
action/** * Allow other plugins to register notices dynamically. Example usage in other * plugins: add_action('cpfm_register_notice', function() { * CPFM_Feedback_Notice::cpfm_register_notice('events', [ 'title' => 'Events * Plugin Notice', 'message' => 'This is a events dashboard setup notice.', * 'pages' => ['dashboard'], ]); }); */ do_action( 'cpfm_register_notice' ); -
/** * Filter CPT bridge definitions. */ apply_filters( 'eca_compatibility_cpt_bridges', $map ); -
/** * Filter which classes already claim cool-events-registration via ECA. */ apply_filters( 'eca_compatibility_license_owner_classes', $classes ); -
/** * Filter settings-page bridge definitions. */ apply_filters( 'eca_compatibility_settings_bridges', $map ); -
/** * Filter the final header plugin context label. */ apply_filters( 'eca_dashboard_header_plugin_context', $label, $addon_key ); -
/** * Filter the addon key used for the header plugin context label. */ apply_filters( 'eca_dashboard_header_plugin_context_key', $addon_key, $page ); -
ect_display_admin_notices
actiondo_action( 'ect_display_admin_notices' ); -
csf_fa4
filterapply_filters( 'csf_fa4', false ); -
csf_{$this->unique}_args
filterapply_filters( "csf_{$this->unique}_args", wp_parse_args( $params['args'], $this->args ), $this ); -
csf_{$this->unique}_sections
filterapply_filters( "csf_{$this->unique}_sections", $params['sections'], $this ); -
do_action( "cpfm_after_opt_in_{$plugin_name}", $category ); -
cpfm_after_opt_in_ect
actiondo_action( 'cpfm_after_opt_in_ect', 'cool_events' ); -
do_action( "cpfm_after_opt_out_{$plugin_name}", $category ); -
apply_filters( "csf_{$this->unique}_output_css", CSF::$css, $this ); -
csf_{$this->unique}_save
filterapply_filters( "csf_{$this->unique}_save", $data, $this ); -
do_action( "csf_{$this->unique}_save_after", $data, $this ); -
do_action( "csf_{$this->unique}_save_before", $data, $this ); -
csf_{$this->unique}_saved
actiondo_action( "csf_{$this->unique}_saved", $data, $this ); -
csf_chosen_ajax_capability
filterapply_filters( 'csf_chosen_ajax_capability', 'manage_options' ); -
csf_color_palette
filterapply_filters( 'csf_color_palette', array() ); -
csf_customize_complex_fields
filterapply_filters( 'csf_customize_complex_fields', array( 'accordion', 'background', 'border', 'button_set', 'checkbox', 'color_group', 'date', 'dimensions', 'fieldset', 'group', 'image_select', 'link', 'link_color', 'media', 'palette', 'repeater', 'sortable', 'sorter', 'spacing', 'switcher', 'tabbed', 'typography' ) ); -
csf_enqueue
actiondo_action( 'csf_enqueue' ); -
csf_enqueue_assets
filterapply_filters( 'csf_enqueue_assets', self::$enqueue ); -
csf_field_icon_add_icons
filterapply_filters( 'csf_field_icon_add_icons', csf_get_default_icons() ); -
apply_filters( 'csf_field_typography_backup_font_family', array( 'Arial, Helvetica, sans-serif', "'Arial Black', Gadget, sans-serif", "'Comic Sans MS', cursive, sans-serif", 'Impact, Charcoal, sans-serif', "'Lucida Sans Unicode', 'Lucida Grande', sans-serif", 'Tahoma, Geneva, sans-serif', "'Trebuchet MS', Helvetica, sans-serif'", 'Verdana, Geneva, sans-serif', "'Courier New', Courier, monospace", "'Lucida Console', Monaco, monospace", 'Georgia, serif'... ); -
apply_filters( 'csf_field_typography_customwebfonts', array() ); -
apply_filters( 'csf_field_typography_defaultstyles', array( 'normal', 'italic', '700', '700italic' ) ); -
apply_filters( 'csf_field_typography_googlestyles', array( '100' => 'Thin 100', '100italic' => 'Thin 100 Italic', '200' => 'Extra-Light 200', '200italic' => 'Extra-Light 200 Italic', '300' => 'Light 300', '300italic' => 'Light 300 Italic', 'normal' => 'Normal 400', 'italic' => 'Normal 400 Italic', '500' => 'Medium 500', '500italic' => 'Medium 500 Italic', '600' => 'Semi-Bold 600', '600italic' => 'Semi-Bold 600 Italic', '700' => 'Bold 700', '700i... ); -
apply_filters( 'csf_field_typography_googlewebfonts', csf_get_google_fonts() ); -
apply_filters( 'csf_field_typography_safewebfonts', array( 'Arial', 'Arial Black', 'Helvetica', 'Times New Roman', 'Courier New', 'Tahoma', 'Verdana', 'Impact', 'Trebuchet MS', 'Comic Sans MS', 'Lucida Console', 'Lucida Sans Unicode', 'Georgia, serif', 'Palatino Linotype' ) ); -
apply_filters( 'csf_field_typography_webfonts', $webfonts ); -
csf_fields
filterapply_filters( 'csf_fields', array( 'accordion', 'background', 'backup', 'border', 'button_set', 'callback', 'checkbox', 'code_editor', 'color', 'color_group', 'content', 'date', 'datetime', 'dimensions', 'fieldset', 'gallery', 'group', 'heading', 'icon', 'image_select', 'link', 'link_color', 'map', 'media', 'notice', 'number', 'palette', 'radio', 'repeater', 'select', 'slider', 'sortable', 'sorter', 'spacing', 'spinner', ... ); -
csf_init
actiondo_action( 'csf_init' ); -
csf_loaded
actiondo_action( 'csf_loaded' ); -
csf_options_after
actiondo_action( 'csf_options_after' ); -
csf_options_before
actiondo_action( 'csf_options_before' ); -
csf_override
filterapply_filters( 'csf_override', 'csf-override' ); -
ect_args_filter
filterapply_filters( 'ect_args_filter', array( 'post_status' => 'publish', 'hide_upcoming' => true, 'posts_per_page' => $attribute['limit'], 'tax_query' => $attribute['event_tax'], 'meta_key' => $attribute['key'], 'orderby' => 'event_date', 'order' => $attribute['order'], 'meta_query' => $attribute['meta_date'], ), $attribute, $meta_date_date, $meta_date_compare ); -
apply_filters( 'ect_bricks_event_category_options_limit', 500 ); -
apply_filters( 'ect_bricks_event_category_taxonomies', array( 'tribe_events_cat' ), $post_id ); -
apply_filters( 'ect_bricks_events_posts_per_page_max', 100 ); -
ect_extra_data_update
actiondo_action( 'ect_extra_data_update' ); -
ect_shortcode_atts
filterapply_filters( 'ect_shortcode_atts', array( 'template' => 'default', 'style' => 'style-1', 'category' => 'all', 'date_format' => 'default', 'start_date' => '', 'end_date' => '', 'time' => 'future', 'order' => 'ASC', 'limit' => '10', 'hide-venue' => 'no', 'event_tax' => '', 'month' => '', 'tags' => '', 'icons' => '', 'layout' => '', 'title' => '', 'design' => '', 'socialshare' => '', ), $atts ); -
plugin_opt_in_{$slug}
actiondo_action( "plugin_opt_in_{$slug}" ); -
apply_filters( 'template_events_calendar_elb_container_layout_css_contributors', [ 'elb-card__body--list-3' => [ 'ELB_Layout_List_3', 'timeline_line_css' ], 'elb-card__date-col--list-4' => [ 'ELB_Layout_List_4', 'accent_css' ], ] ); -
apply_filters( 'template_events_calendar_elb_currency_symbol', '$' ); -
apply_filters( 'template_events_calendar_elb_load_google_fonts', true ); -
apply_filters( 'tribe_events_list_show_date_headers', true );
Generated from Events Shortcodes For The Events Calendar'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: