dashboard_php_nag_class

Advertisement

Summery Summery

Adds an additional class to the PHP nag if the current version is insecure.

Syntax Syntax

dashboard_php_nag_class( array $classes )

Parameters Parameters

$classes

(array) (Required) Metabox classes.

Return Return

(array) Modified metabox classes.

Source Source

File: wp-admin/includes/dashboard.php

	if ( $response && $response['insecure'] ) {
		$classes[] = 'browser-insecure';
	}

	return $classes;
}

/**

Advertisement

Changelog Changelog

Changelog
Version Description
5.1.0 Introduced.

Advertisement

Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.