block_editor_no_javascript_message WordPress Filter Hook

The block_editor_no_javascript_message hook is used to display a message when the block editor is accessed without JavaScript enabled. This hook is useful for displaying a warning to users that they will not be able to use the block editor if they do not have JavaScript enabled. It can also be used to provide a link to a page where they can enable JavaScript.

apply_filters( 'block_editor_no_javascript_message', string $message, WP_Post $post ) #

Filters the message displayed in the block editor interface when JavaScript is not enabled in the browser.


Parameters

$message

(string)The message being displayed.

$post

(WP_Post)The post being edited.


Top ↑

Source

File: wp-admin/edit-form-blocks.php

View on Trac


Top ↑

Changelog

Changelog
VersionDescription
5.0.3Introduced.

The content displayed on this page has been created in part by processing WordPress source code files which are made available under the GPLv2 (or a later version) license by theĀ Free Software Foundation. In addition to this, the content includes user-written examples and information. All material is subject to review and curation by the WPPaste.com community.