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.
// 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
-
/** * Filters the selected color variation's styles for preview and save. */ apply_filters( 'twentig_starter_color_variation_styles', $variation['styles'], $variation ); -
/** * Filters the namespace used for onboarding layout patterns. */ apply_filters( 'twentig_starter_pattern_namespace', 'twentigone' ); -
twentig_article_end
actiondo_action( 'twentig_article_end' ); -
twentig_breakpoints
filterapply_filters( 'twentig_breakpoints', array( 'mobile' => 768, 'tablet' => 1024 ) ); -
twentig_fonts
filterapply_filters( 'twentig_fonts', $fonts ); -
twentig_google_fonts_url
filterapply_filters( 'twentig_google_fonts_url', esc_url_raw( $fonts_url ) ); -
body_class
filterapply_filters( 'body_class', array(), array() ); -
twentig_block_classes
filterapply_filters( 'twentig_block_classes', $classes ); -
twentig_cpt_not_in
filterapply_filters( 'twentig_cpt_not_in', array( 'product', 'tribe_events', 'course', 'lesson', 'forum', 'topic', 'reply', ) ); -
twentig_customizer_css
filterapply_filters( 'twentig_customizer_css', $css ); -
apply_filters( 'twentig_enable_activation_redirect', true ); -
twentig_font_presets
filterapply_filters( 'twentig_font_presets', array() ); -
twentig_page_types
filterapply_filters( 'twentig_page_types', $page_types ); -
twentig_starter_websites
filterapply_filters( 'twentig_starter_websites', array() ); -
twentig_template_page_file
filterapply_filters( 'twentig_template_page_file', $template_path . $template_name, $template_name ); -
twentig_template_pages
filterapply_filters( 'twentig_template_pages', $this->templates ); -
apply_filters( 'twentig_twentyone_color_variables', $colors ); -
twentig_twentyone_custom_css
filterapply_filters( 'twentig_twentyone_custom_css', $css ); -
apply_filters( 'twentig_use_legacy_visibility_controls', false ); -
apply_filters( 'wptt_get_local_fonts_base_path', $this->get_filesystem()->wp_content_dir() ); -
apply_filters( 'wptt_get_local_fonts_base_url', content_url() ); -
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: