wp_admin_notice

wp_admin_notice

Hook Type: action

See hook in core

Displaying hooks found in version: wordpress-6.8

do_action('wp_admin_notice') is found 1 times:

  • /wp-includes/functions.php line 9094
    9090
    9091
    9092
    9093
    9094
    9095
    9096
    9097
    9098
    9099
    9100
         *
         * @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 ) );
    }
     
    /**
     * Checks if a mime type is for a HEIC/HEIF image.