apply_filters( 'block_editor_no_javascript_message', string $message, WP_Post $post, bool $installed )
- Since
- 5.0.3, 6.4.0
Filters the message displayed in the block editor interface when JavaScript is not enabled in the browser.
Compatibility
- WordPress
- since 6.4.0
- 6.7.7
- 6.8.8
- 6.9.7
- 7.0.4
- 7.1.0
Present in every tracked release (6.7.7 to 7.1.0).
Parameters
$messagestring- The message being displayed.
$postWP_Post- The post being edited.
$installedbool- Whether the classic editor is installed.
Where this hook fires · 1
wp-admin/edit-form-blocks.php:384file scope
Source code
* @since 6.4.0 Added `$installed` parameter. * * @param string $message The message being displayed. * @param WP_Post $post The post being edited. * @param bool $installed Whether the classic editor is installed. */ $message = apply_filters( 'block_editor_no_javascript_message', $message, $post, $installed ); wp_admin_notice( $message, array( 'type' => 'error', ) );Changelog
Introduced in 5.0.3. Unchanged from 6.7.7 through 7.1.0.
Signature, return type and hooks compared across 5 parsed releases.
6.4.0
Added
$installed parameter.from the docblock5.0.3
Introduced.from the docblock
About this page
- Parsed data
- Generated from the wordpress-develop 6.7.7 tag, and regenerated for each WordPress release so it tracks the code rather than a snapshot of it.
- Corrections
- Something wrong on this page? Report it and it gets fixed in the next regeneration.