Events Shortcodes For The Events Calendar icon
Events & Booking

Events Shortcodes For The Events Calendar hooks reference

  • By Narinder Singh
  • v3.0.1 New
  • Updated

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.

functions.phpyour child theme
// 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

  • admin/cpfm-feedback/class-cpfm-environment.php line 101
    /**
     * Filter the shared CPFM environment snapshot.
     */
    apply_filters( 'cpfm_environment', $env );
  • admin/cpfm-feedback/cpfm-feedback-notice.php line 112
    /**
     * 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' );
  • admin/eca-dashboard/includes/class-eca-compatibility-resolver.php line 178
    /**
     * Filter CPT bridge definitions.
     */
    apply_filters( 'eca_compatibility_cpt_bridges', $map );
  • admin/eca-dashboard/includes/class-eca-compatibility-resolver.php line 132
    /**
     * Filter which classes already claim cool-events-registration via ECA.
     */
    apply_filters( 'eca_compatibility_license_owner_classes', $classes );
  • admin/eca-dashboard/includes/class-eca-compatibility-resolver.php line 224
    /**
     * Filter settings-page bridge definitions.
     */
    apply_filters( 'eca_compatibility_settings_bridges', $map );
  • admin/eca-dashboard/includes/class-eca-dashboard-page.php line 485
    /**
     * Filter the final header plugin context label.
     */
    apply_filters( 'eca_dashboard_header_plugin_context', $label, $addon_key );
  • admin/eca-dashboard/includes/class-eca-dashboard-page.php line 443
    /**
     * Filter the addon key used for the header plugin context label.
     */
    apply_filters( 'eca_dashboard_header_plugin_context_key', $addon_key, $page );
  • admin/eca-dashboard/includes/class-eca-dashboard-page.php line 550 · used in 4 places
    do_action( 'ect_display_admin_notices' );
  • csf_fa4

    filter
    admin/codestar-framework/classes/setup.class.php line 584 · used in 3 places
    apply_filters( 'csf_fa4', false );
  • admin/codestar-framework/classes/admin-options.class.php line 98 · used in 2 places
    apply_filters( "csf_{$this->unique}_args", wp_parse_args( $params['args'], $this->args ), $this );
  • admin/codestar-framework/classes/admin-options.class.php line 99 · used in 2 places
    apply_filters( "csf_{$this->unique}_sections", $params['sections'], $this );
  • admin/cpfm-feedback/cpfm-feedback-notice.php line 286
    do_action( "cpfm_after_opt_in_{$plugin_name}", $category );
  • admin/ect-onboarding/class-ect-onboarding-page.php line 909
    do_action( 'cpfm_after_opt_in_ect', 'cool_events' );
  • admin/cpfm-feedback/cpfm-feedback-notice.php line 291
    do_action( "cpfm_after_opt_out_{$plugin_name}", $category );
  • admin/codestar-framework/classes/abstract.class.php line 22
    apply_filters( "csf_{$this->unique}_output_css", CSF::$css, $this );
  • admin/codestar-framework/classes/admin-options.class.php line 381
    apply_filters( "csf_{$this->unique}_save", $data, $this );
  • admin/codestar-framework/classes/admin-options.class.php line 389
    do_action( "csf_{$this->unique}_save_after", $data, $this );
  • admin/codestar-framework/classes/admin-options.class.php line 383
    do_action( "csf_{$this->unique}_save_before", $data, $this );
  • admin/codestar-framework/classes/admin-options.class.php line 416
    do_action( "csf_{$this->unique}_saved", $data, $this );
  • admin/codestar-framework/functions/actions.php line 189
    apply_filters( 'csf_chosen_ajax_capability', 'manage_options' );
  • admin/codestar-framework/classes/setup.class.php line 608
    apply_filters( 'csf_color_palette', array() );
  • admin/codestar-framework/functions/customize.php line 95
    apply_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

    action
    admin/codestar-framework/classes/setup.class.php line 635
    do_action( 'csf_enqueue' );
  • admin/codestar-framework/classes/setup.class.php line 568
    apply_filters( 'csf_enqueue_assets', self::$enqueue );
  • admin/codestar-framework/functions/actions.php line 27
    apply_filters( 'csf_field_icon_add_icons', csf_get_default_icons() );
  • admin/codestar-framework/fields/typography/typography.php line 108
    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'... );
  • admin/codestar-framework/fields/typography/typography.php line 360
    apply_filters( 'csf_field_typography_customwebfonts', array() );
  • admin/codestar-framework/fields/typography/typography.php line 394
    apply_filters( 'csf_field_typography_defaultstyles', array( 'normal', 'italic', '700', '700italic' ) );
  • admin/codestar-framework/fields/typography/typography.php line 396
    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... );
  • admin/codestar-framework/fields/typography/typography.php line 391
    apply_filters( 'csf_field_typography_googlewebfonts', csf_get_google_fonts() );
  • admin/codestar-framework/fields/typography/typography.php line 371
    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' ) );
  • admin/codestar-framework/fields/typography/typography.php line 417
    apply_filters( 'csf_field_typography_webfonts', $webfonts );
  • csf_fields

    filter
    admin/codestar-framework/classes/setup.class.php line 411
    apply_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

    action
    admin/codestar-framework/classes/setup.class.php line 72
    do_action( 'csf_init' );
  • csf_loaded

    action
    admin/codestar-framework/classes/setup.class.php line 254
    do_action( 'csf_loaded' );
  • admin/codestar-framework/classes/admin-options.class.php line 759
    do_action( 'csf_options_after' );
  • admin/codestar-framework/classes/admin-options.class.php line 581
    do_action( 'csf_options_before' );
  • csf_override

    filter
    admin/codestar-framework/classes/setup.class.php line 335
    apply_filters( 'csf_override', 'csf-override' );
  • includes/events-shortcode.php line 169
    apply_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 );
  • bricks/includes/controls/ect-bricks-query-controls.php line 155
    apply_filters( 'ect_bricks_event_category_options_limit', 500 );
  • bricks/includes/markup/ect-bricks-layout-cards.php line 561
    apply_filters( 'ect_bricks_event_category_taxonomies', array( 'tribe_events_cat' ), $post_id );
  • bricks/includes/query.php line 46
    apply_filters( 'ect_bricks_events_posts_per_page_max', 100 );
  • events-calendar-templates.php line 365
    do_action( 'ect_extra_data_update' );
  • includes/events-shortcode.php line 36
    apply_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 );
  • admin/ect-onboarding/class-ect-onboarding-page.php line 936
    do_action( "plugin_opt_in_{$slug}" );
  • ect-loop-builder/includes/class-card-layout-css.php line 44
    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' ], ] );
  • ect-loop-builder/includes/class-event-cost.php line 44
    apply_filters( 'template_events_calendar_elb_currency_symbol', '$' );
  • ect-loop-builder/includes/class-typography.php line 53
    apply_filters( 'template_events_calendar_elb_load_google_fonts', true );
  • includes/events-shortcode.php line 225
    apply_filters( 'tribe_events_list_show_date_headers', true );
  • admin/codestar-framework/functions/walker.php line 21
    do_action( 'wp_nav_menu_item_custom_fields', $item->ID, $item, $depth, $args );

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: