wp_admin_notice_args

wp_admin_notice_args

Hook Type: filter

See hook in core

Displaying hooks found in version: wordpress-6.5.3

apply_filters('wp_admin_notice_args') is found 1 times:

  • /wp-includes/functions.php line 8845
    	 *
    	 * @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'] );