wp_admin_notice

FUNCTION wp-includes\functions.php (ligne 9038) github
Filters the arguments for an admin notice.

Paramètres

Entrée :
$message, $args = array(
Sortie :
@param array  $args    The arguments for the admin notice.
@param string $message The message for the admin notice.
@param string $markup  The HTML markup for the admin notice.
@param string $message The message for the admin notice.
@param array  $args    The arguments for the admin notice.
@param string $message The message to output.
@param array  $args {

Utilisation

// Utilisation de la fonction wp_admin_notice
$result = wp_admin_notice($message, $args = array();

if ($result) {
    // Votre logique ici
}

Actualités

Chargement des actualités...