Twentig Supercharged Block Editor icon
Page Builders & Blocks

Twentig Supercharged Block Editor hooks reference

  • By Twentig
  • v2.0.6
  • Updated

Twentig Supercharged Block Editor 2.0.6 has 1 actions and 21 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 Twentig Supercharged Block Editor fires an action
add_action( 'twentig_article_end', function() {
	// Your code runs here.
}, 10, 1 );

// Change a value Twentig Supercharged Block Editor is about to use
add_filter( 'twentig_starter_color_variation_styles', function( $variation, $variation2 ) {
	// Change $variation here.
	return $variation;
}, 10, 2 );

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

  • inc/dashboard/customizer/class-customizer-updater.php line 703
    /**
     * Filters the selected color variation's styles for preview and save.
     */
    apply_filters( 'twentig_starter_color_variation_styles', $variation['styles'], $variation );
  • inc/dashboard/customizer/class-customizer-updater.php line 795
    /**
     * Filters the namespace used for onboarding layout patterns.
     */
    apply_filters( 'twentig_starter_pattern_namespace', 'twentigone' );
  • inc/classic/twentytwenty/templates/tw-header-transparent-light.php line 34 · used in 4 places
    do_action( 'twentig_article_end' );
  • inc/blocks.php line 103 · used in 3 places
    apply_filters( 'twentig_breakpoints', array( 'mobile' => 768, 'tablet' => 1024 ) );
  • twentig_fonts

    filter
    inc/classic/twentytwenty/font.php line 735 · used in 2 places
    apply_filters( 'twentig_fonts', $fonts );
  • inc/classic/twentytwenty/font.php line 118 · used in 2 places
    apply_filters( 'twentig_google_fonts_url', esc_url_raw( $fonts_url ) );
  • body_class

    filter
    inc/classic/twentytwentyone/front-style.php line 950
    apply_filters( 'body_class', array(), array() );
  • inc/block-presets.php line 244
    apply_filters( 'twentig_block_classes', $classes );
  • inc/classic/twentytwentyone/front-style.php line 1212
    apply_filters( 'twentig_cpt_not_in', array( 'product', 'tribe_events', 'course', 'lesson', 'forum', 'topic', 'reply', ) );
  • inc/classic/twentytwenty/front-style.php line 648
    apply_filters( 'twentig_customizer_css', $css );
  • inc/dashboard/class-twentig-dashboard.php line 142
    apply_filters( 'twentig_enable_activation_redirect', true );
  • inc/classic/theme-tools/class-twentig-customize-font-presets-control.php line 27
    apply_filters( 'twentig_font_presets', array() );
  • inc/dashboard/class-twentig-website-importer.php line 593
    apply_filters( 'twentig_page_types', $page_types );
  • inc/classic/theme-tools/starters.php line 14
    apply_filters( 'twentig_starter_websites', array() );
  • inc/classic/theme-tools/class-twentig-page-templater.php line 118
    apply_filters( 'twentig_template_page_file', $template_path . $template_name, $template_name );
  • inc/classic/theme-tools/class-twentig-page-templater.php line 55
    apply_filters( 'twentig_template_pages', $this->templates );
  • inc/classic/twentytwentyone/customizer.php line 3179
    apply_filters( 'twentig_twentyone_color_variables', $colors );
  • inc/classic/twentytwentyone/front-style.php line 411
    apply_filters( 'twentig_twentyone_custom_css', $css );
  • inc/blocks.php line 53
    apply_filters( 'twentig_use_legacy_visibility_controls', false );
  • inc/classic/theme-tools/wptt-webfont-loader.php line 539
    apply_filters( 'wptt_get_local_fonts_base_path', $this->get_filesystem()->wp_content_dir() );
  • inc/classic/theme-tools/wptt-webfont-loader.php line 553
    apply_filters( 'wptt_get_local_fonts_base_url', content_url() );
  • inc/classic/theme-tools/wptt-webfont-loader.php line 567
    apply_filters( 'wptt_get_local_fonts_subfolder_name', 'fonts' );

Generated from Twentig Supercharged Block Editor'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: