Block Editor PHP Beginner

Turn Off the Editor Welcome Guide

Stop the "Welcome to the editor" pop-up appearing for new users and on new browsers.

Tested on WordPress 7.1 PHP 8.3 No plugin needed Updated
functions.php 6 lines
add_action( 'enqueue_block_editor_assets', function (): void {
	wp_add_inline_script(
		'wp-preferences',
		"wp.domReady( function () { wp.data.dispatch( 'core/preferences' ).set( 'core/edit-post', 'welcomeGuide', false ); } );"
	);
} );

Where to add this

Recommended A code snippets plugin Survives theme changes and is easy to switch off.
Child theme At the end of your child theme's functions.php file.
Must-use plugin As a .php file in wp-content/mu-plugins, starting with <?php.

Always add PHP to a staging site first, or have FTP or file manager access ready, so you can undo it if something goes wrong.

Every new user, and every user on a new browser, sees the “Welcome to the editor” guide. On a team where everyone knows the editor, it’s just a pop-up to close. This snippet turns it off.

How it works

The guide checks the welcomeGuide preference for the post editor. The snippet sets it to false through the core/preferences store as soon as the editor loads, so the guide never appears.

Things to watch

  • People can still open the guide from the editor’s Options menu → Welcome Guide.
  • For the Site Editor, also set 'core/edit-site', 'welcomeGuide'.

How to test it

Log in as a new user, or in a private window, and open the editor. No welcome pop-up should appear.

This website uses cookies to enhance your browsing experience and ensure the site functions properly. By continuing to use this site, you acknowledge and accept our use of cookies.

Accept All Accept Required Only