Filters the debug information shown on the Tools -> Site Health -> Info screen. Plugin or themes may wish to introduce their own debug information without creating additional admin pages. They can utilize this filter to introduce their own sections or add more data to existing sections. Array keys for sections added by core are all prefixed with `wp-`. Plugins and themes should use their own slug as a prefix, both for consistency as well as avoiding key collisions. Note that the array keys are used as labels for the copied data. All strings are expected to be plain text except `$description` that can contain inline HTML tags (see below).
$info
Sortie :
@param array $args {
// Modifier la valeur avec le filtre 'debug_information'
add_filter('debug_information', 'ma_fonction_filtre', 10, 1);
function ma_fonction_filtre($info) {
// Modifier la valeur
return $info;
}
Chargement des actualités...