block_editor_no_javascript_message filter-hook . WP 5.0.3
Filters the message displayed in the block editor interface when JavaScript is not enabled in the browser.
Usage
add_filter( 'block_editor_no_javascript_message', 'filter_function_name_7967', 10, 2 ); function filter_function_name_7967( $message, $post ){ // filter... return $message; }
- $message(string)
- The message being displayed.
- $post(WP_Post)
- The post being edited.
Changelog
Since 5.0.3 | Introduced. |
Where the hook is called
In file: /wp-admin/edit-form-blocks.php
block_editor_no_javascript_message
wp-admin/edit-form-blocks.php 467
echo apply_filters( 'block_editor_no_javascript_message', $message, $post );