Timeline Block For Gutenberg icon
Page Builders & Blocks

Timeline Block For Gutenberg hooks reference

  • By Cool Plugins
  • v2.0.1
  • Updated

Timeline Block For Gutenberg 2.0.1 has 5 actions and 8 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 Timeline Block For Gutenberg fires an action
add_action( 'cpfm_register_notice', function() {
	// Your code runs here.
}, 10, 1 );

// Change a value Timeline Block For Gutenberg 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/cp-onboarding/framework/src/class-framework.php line 256
    /**
     * Final chance for a plugin to adjust localized data.
     */
    apply_filters( "{$this->config->prefix()}_onboarding_script_data", $data, $this->config );
  • admin/cpfm-feedback/class-cpfm-environment.php line 100
    /**
     * 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/timeline-global-header.php line 346
    /**
     * Fires immediately after the Timeline Addons global header.
     */
    do_action( 'cph_after_timeline_header' );
  • admin/cp-onboarding/loader.php line 95
    /**
     * 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'] );
  • admin/cp-onboarding/framework/views/onboarding-page.php line 210
    apply_filters( "{$config->prefix()}_onboarding_body_{$cpo_mode}", null, $config, $cpo_mode );
  • admin/cp-onboarding/framework/src/class-telemetry.php line 64
    apply_filters( "{$prefix}_onboarding_buckets", array() );
  • admin/cp-onboarding/framework/src/class-telemetry.php line 59
    apply_filters( "{$prefix}_onboarding_events", array( 'method_picked', 'cta_clicked', 'cta_failed', 'addon_install_clicked', 'video_played', 'substep_picked' ) );
  • admin/cp-onboarding/framework/src/class-framework.php line 217
    apply_filters( "{$this->config->prefix()}_onboarding_labels", array(), $td );
  • admin/cpfm-feedback/cpfm-feedback-notice.php line 288
    do_action( "cpfm_after_opt_in_{$plugin_name}", $category );
  • admin/cpfm-feedback/cpfm-feedback-notice.php line 293
    do_action( "cpfm_after_opt_out_{$plugin_name}", $category );
  • ctlb_is_pro

    filter
    includes/cool-timeline-block/src/init.php line 328
    apply_filters( 'ctlb_is_pro', false );
  • includes/cool-timeline-block/src/init.php line 182
    apply_filters( 'timeline-block_post_for_stylesheet', $this_post );

Generated from Timeline Block For Gutenberg'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: