wp_admin_notice_args

wp_admin_notice_args

Hook Type: filter

See hook in core

Displaying hooks found in version: wordpress-6.8

apply_filters('wp_admin_notice_args') is found 1 times:

  • /wp-includes/functions.php line 8994
    8990
    8991
    8992
    8993
    8994
    8995
    8996
    8997
    8998
    8999
    9000
    *
     * @param array  $args    The arguments for the admin notice.
     * @param string $message The message for the admin notice.
     */
    $args       = apply_filters( 'wp_admin_notice_args', $args, $message );
    $id         = '';
    $classes    = 'notice';
    $attributes = '';
     
    if ( is_string( $args['id'] ) ) {
        $trimmed_id = trim( $args['id'] );