block_widgets_no_javascript_message

block_widgets_no_javascript_message

Hook Type: filter

See hook in core

Displaying hooks found in version: wordpress-6.7.1

apply_filters('block_widgets_no_javascript_message') is found 1 times:

  • /wp-admin/widgets-form-blocks.php line 127
    123
    124
    125
    126
    127
    128
    129
    130
    131
    132
    133
    *
     * @param string $message The message being displayed.
     * @param bool   $installed Whether the Classic Widget plugin is installed.
     */
    $message = apply_filters( 'block_widgets_no_javascript_message', $message, $installed );
    wp_admin_notice(
        $message,
        array(
            'type'               => 'error',
            'additional_classes' => array( 'hide-if-js' ),
        )