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

apply_filters('block_widgets_no_javascript_message') is found 1 times:

  • /wp-admin/widgets-form-blocks.php line 127
    		 *
    		 * @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' ),
    			)