MRW Simplified Editor icon
Content & Editing

MRW Simplified Editor hooks reference

  • By mrwweb
  • v2.15.2
  • Updated

MRW Simplified Editor 2.15.2 has 0 actions and 15 filters, read directly from its source code on Nov 18, 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
// Change a value MRW Simplified Editor is about to use
add_filter( 'mrw_block_editor_hide_color_palette', function( $empty ) {
	// Change $empty here.
	return $empty;
}, 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

  • inc/block-editor.php line 55
    /**
     * Filter to hide default color palette if the theme has not explicitly
     * registered one or the Block Editor Colors plugin is not active
     */
    apply_filters( 'mrw_block_editor_hide_color_palette', empty( $theme_palette ) );
  • inc/block-editor.php line 87
    /**
     * Filter to hide default gradient presets if the theme has not explicitly
     * registered any
     */
    apply_filters( 'mrw_block_editor_hide_gradient_presets', empty( $theme_gradients ) );
  • inc/block-editor.php line 488
    /**
     * Filter the list of hidden block editor settings
     */
    apply_filters( 'mrw_hidden_block_editor_settings', $hidden_block_editor_settings );
  • inc/block-editor.php line 429
    /**
     * Filter the list of hidden block styles
     */
    apply_filters( 'mrw_hidden_block_styles', $hidden_styles );
  • inc/block-editor.php line 263
    /**
     * Filter the full list of hidden blocks
     */
    apply_filters( 'mrw_hidden_blocks', $hidden_blocks, $context );
  • inc/block-editor.php line 137
    /**
     * Filter `mrw_hidden_core_blocks` allows showing all hidden "Core" blocks by
     * removing them from the hidden list. Use __return_empty_array to unhide all
     * blocks.
     */
    apply_filters( 'mrw_hidden_core_blocks', array( 'core/accordion', 'core/audio', 'core/code', 'core/details', 'core/footnotes', 'core/freeform', 'core/icon', 'core/latest-posts', 'core/math', 'core/nextpage', 'core/preformatted', 'core/shortcode', 'core/spacer', 'core/table', 'core/verse', 'core/video', 'videopress/video', ), $context );
  • inc/block-editor.php line 313
    /**
     * Filter list of hidden embeds
     */
    apply_filters( 'mrw_hidden_embeds', $hidden_embeds );
  • inc/block-editor.php line 186
    /**
     * Filter `mrw_hidden_query_blocks` allows showing all hidden "Query" and
     * "Post" blocks by removing them from the hidden list. Use
     * __return_empty_array to unhide all blocks.
     */
    apply_filters( 'mrw_hidden_query_blocks', array( 'core/avatar', 'core/query', 'core/query-title', 'core/post-title', 'core/post-comments-count', 'core/post-comments-link', 'core/post-content', 'core/post-date', 'core/post-excerpt', 'core/post-featured-image', 'core/post-terms', 'core/post-author', 'core/post-author-biography', 'core/read-more', 'core/term-count', 'core/term-name', 'core/term-description', 'core/terms-query', 'core/post... );
  • inc/block-editor.php line 217
    /**
     * Filter `mrw_hidden_site_blocks` allows showing all hidden "Site"/"Theme"
     * blocks by removing them from the hidden list. Use __return_empty_array to
     * unhide all blocks.
     */
    apply_filters( 'mrw_hidden_site_blocks', array( 'core/breadcrumbs', 'core/comments', 'core/comments-query-loop', 'core/loginout', 'core/page-list', 'core/site-logo', 'core/site-tagline', 'core/site-title', 'core/navigation', 'core/post-author-name', 'core/post-comments', 'core/post-comments-form', 'core/post-navigation-link', 'core/template-part', ), $context );
  • inc/block-editor.php line 166
    /**
     * Filter `mrw_hidden_widget_blocks` showing all hidden "Widget" blocks by
     * removing them from the hidden list. Use __return_empty_array to unhide all
     * blocks.
     */
    apply_filters( 'mrw_hidden_widget_blocks', array( 'core/archives', 'core/calendar', 'core/categories', 'core/latest-comments', 'core/legacy-widget', 'core/rss', 'core/search', 'core/tag-cloud', ), $context );
  • inc/block-editor.php line 394
    /**
     * Filter the list of hidden Jetpack blocks
     */
    apply_filters( 'mrw_jetpack_hidden_blocks', $jetpack_hidden_content_blocks );
  • inc/block-editor.php line 247
    apply_filters( 'mce_buttons', array() );
  • inc/block-editor.php line 248
    apply_filters( 'mce_buttons_2', array() );
  • inc/classic-editor.php line 122
    apply_filters( 'mrw_mce_text_style', $text_styles );

Generated from MRW Simplified Editor's GPL-licensed source code. Hooks inside bundled third-party libraries are not listed.

Done for you

Rather have it built for you?

Tell us what should change and we’ll write and test the code using these hooks.

Plugin customisation

from $149

New features or changed behaviour, without editing the plugin’s files.

  • Built as a companion plugin, so updates never wipe it
  • Exact quote before we start
  • Tested on staging, then deployed

Typical turnaround: 3–7 business days

Choose this

Not sure which fits? Describe what you need and we’ll suggest the simplest option.

Can't find the right hook?

We can build the customisation for you. Describe what you need: