wpseek.com
Eine auf WordPress spezialiserte Suchmaschine für Entwickler und Theme-Autoren
wp_admin_notice › WordPress Function
Seit6.4.0
Veraltetn/v
› wp_admin_notice ( $message, $args = array() )
| Parameter: (2) |
|
| Definiert in: |
|
| Codex: |
Outputs an admin notice.
Ähnliche Funktionen: wp_get_admin_notice, site_admin_notice, wp_admin_css, wp_explain_nonce, wp_admin_canonical_url
Quellcode
function wp_admin_notice( $message, $args = array() ) {
/**
* Fires before an admin notice is output.
*
* @since 6.4.0
*
* @param string $message The message for the admin notice.
* @param array $args The arguments for the admin notice.
*/
do_action( 'wp_admin_notice', $message, $args );
echo wp_kses_post( wp_get_admin_notice( $message, $args ) );
}