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.
Contents
Parameters
- $message
(string)The message being displayed.
- $post
(WP_Post)The post being edited.
Source
Changelog
Version | Description |
---|---|
5.0.3 | Introduced. |