WP_Debug_Data::get_mysql_var( string $mysql_var ): string|null

In this article

Returns the value of a MySQL system variable.

Parameters

$mysql_varstringrequired
Name of the MySQL system variable.

Return

string|null The variable value on success. Null if the variable does not exist.

Source

'SCRIPT_DEBUG'        => array(
	'label' => 'SCRIPT_DEBUG',
	'value' => SCRIPT_DEBUG ? __( 'Enabled' ) : __( 'Disabled' ),
	'debug' => SCRIPT_DEBUG,
),
'WP_CACHE'            => array(
	'label' => 'WP_CACHE',
	'value' => WP_CACHE ? __( 'Enabled' ) : __( 'Disabled' ),
	'debug' => WP_CACHE,
),
'CONCATENATE_SCRIPTS' => array(
	'label' => 'CONCATENATE_SCRIPTS',
	'value' => $concatenate_scripts,
	'debug' => $concatenate_scripts_debug,

Changelog

VersionDescription
5.9.0Introduced.

User Contributed Notes

You must log in before being able to contribute a note or feedback.