block_editor_no_javascript_message

block_editor_no_javascript_message

Appears in: , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , ,
Hook Type: filter

See hook in core

Displaying hooks found in version: wordpress-6.7.2

apply_filters('block_editor_no_javascript_message') is found 1 times:

  • /wp-admin/edit-form-blocks.php line 384
    380
    381
    382
    383
    384
    385
    386
    387
    388
    389
    390
    * @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',
        )
    );