Cool Timeline (Horizontal & Vertical Timeline) 5.0.1 has 17 actions and 42 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 Cool Timeline (Horizontal & Vertical Timeline) fires an action
add_action( 'cpfm_register_notice', function() {
// Your code runs here.
}, 10, 1 );
// Change a value Cool Timeline (Horizontal & Vertical Timeline) 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
-
/** * Final chance for a plugin to adjust localized data. */ apply_filters( "{$this->config->prefix()}_onboarding_script_data", $data, $this->config ); -
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' ); -
cph_after_timeline_header
action/** * Fires immediately after the Timeline Addons global header. */ do_action( 'cph_after_timeline_header' ); -
cpo_onboarding_loaded
action/** * Fires once the framework is loaded and its classes are available. Plugins * hook here to instantiate the framework with their own config. */ do_action( 'cpo_onboarding_loaded', $winner['version'] ); -
csf_{$this->unique}_args
filterapply_filters( "csf_{$this->unique}_args", wp_parse_args( $params['args'], $this->args ), $this ); -
do_action( "csf_{$this->unique}_save_before", $data, $this ); -
csf_{$this->unique}_sections
filterapply_filters( "csf_{$this->unique}_sections", $params['sections'], $this ); -
csf_{$this->unique}_save
filterapply_filters( "csf_{$this->unique}_save", $data, $this ); -
do_action( "csf_{$this->unique}_save_after", $data, $this ); -
csf_{$this->unique}_saved
actiondo_action( "csf_{$this->unique}_saved", $data, $this ); -
csf_fa4
filterapply_filters( 'csf_fa4', false ); -
the_content
filterapply_filters( 'the_content', $excerpt ); -
apply_filters( "{$config->prefix()}_onboarding_body_{$cpo_mode}", null, $config, $cpo_mode ); -
{$prefix}_onboarding_buckets
filterapply_filters( "{$prefix}_onboarding_buckets", array() ); -
{$prefix}_onboarding_events
filterapply_filters( "{$prefix}_onboarding_events", array( 'method_picked', 'cta_clicked', 'cta_failed', 'addon_install_clicked', 'video_played', 'substep_picked' ) ); -
apply_filters( "{$this->config->prefix()}_onboarding_labels", array(), $td ); -
apply_filters( 'cool_timeline_pagination_args', $pagination_args, $paged ); -
cool_timeline_story_img_size
filterapply_filters( 'cool_timeline_story_img_size', $image_size ); -
do_action( "cpfm_after_opt_in_{$plugin_name}", $category ); -
do_action( "cpfm_after_opt_out_{$plugin_name}", $category ); -
apply_filters( "csf_{$this->unique}_control_ops", $control_ops, $this ); -
apply_filters( "csf_{$this->unique}_output_css", CSF::$css, $this ); -
apply_filters( "csf_{$this->unique}_widget_ops", $widget_ops, $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' ); -
csf_welcome_page
filterapply_filters( 'csf_welcome_page', true ); -
csf_wp_editor
filterapply_filters( 'csf_wp_editor', array( 'tinymce' => array( 'wp_skip_init' => true ), ) ); -
apply_filters( 'ctl_bricks_onboarding_force_new_page', false ); -
ctl_demo_allow_recreate
filterapply_filters( 'ctl_demo_allow_recreate', false ); -
ctl_demo_data
filterapply_filters( 'ctl_demo_data', $data ); -
ctl_display_admin_notices
actiondo_action( 'ctl_display_admin_notices' ); -
ctl_extra_data_update
actiondo_action( 'ctl_extra_data_update' ); -
ctl_global_header_heading
filterapply_filters( 'ctl_global_header_heading', $default_heading ); -
ctl_story_year
filterapply_filters( 'ctl_story_year', $story_year_label ); -
ctp_story_query_args
filterapply_filters( 'ctp_story_query_args', $query_args, $attributes ); -
divi_ghoster_ghosted_theme
filterapply_filters( 'divi_ghoster_ghosted_theme', '' ); -
media_buttons
actiondo_action( 'media_buttons' ); -
apply_filters( 'timeline-block_post_for_stylesheet', $this_post ); -
apply_filters( 'tmdivi_onboarding_force_new_page', false ); -
apply_filters( 'twae_onboarding_force_new_page', false );
Generated from Cool Timeline (Horizontal & Vertical Timeline)'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: