WordPress at Your Fingertips
function is not described

_wp_block_editor_posts_page_notice() WP 5.8.0

Outputs a notice when editing the page for posts in the block editor (internal use only).

This is an internal function for using it by WP core itself. It's not recommended to use this function in your code.

No Hooks.

Return

null. Nothing.

Usage

_wp_block_editor_posts_page_notice();

Changelog

Since 5.8.0 Introduced.

Code of _wp_block_editor_posts_page_notice() WP 5.8.2

function _wp_block_editor_posts_page_notice() {
	wp_add_inline_script(
		'wp-notices',
		sprintf(
			'wp.data.dispatch( "core/notices" ).createWarningNotice( "%s", { isDismissible: false } )',
			__( 'You are currently editing the page that shows your latest posts.' )
		),
		'after'
	);
}