site_editor_no_javascript_message

site_editor_no_javascript_message

Hook Type: filter

See hook in core

Displaying hooks found in version: wordpress-6.7.1

apply_filters('site_editor_no_javascript_message') is found 1 times:

  • /wp-admin/site-editor.php line 196
    		 *
    		 * @param string  $message The message being displayed.
    		 * @param WP_Post $post    The post being edited.
    		 */
    		$message = apply_filters( 'site_editor_no_javascript_message', __( 'The site editor requires JavaScript. Please enable JavaScript in your browser settings.' ), $post );
    		wp_admin_notice(
    			$message,
    			array(
    				'type'               => 'error',
    				'additional_classes' => array( 'hide-if-js' ),
    			)