Filters the arguments passed to {@see wp_die()} for the default PHP error template.
$args, $error
Sortie :
@param array $args Associative array of arguments passed to `wp_die()`. By default these contain a @param array $error Error information retrieved from `error_get_last()`.
// Modifier la valeur avec le filtre 'wp_php_error_args'
add_filter('wp_php_error_args', 'ma_fonction_filtre', 10, 1);
function ma_fonction_filtre($args) {
// Modifier la valeur
return $args;
}
Chargement des actualités...