wp_admin_notice, $message, $args

wp_admin_notice, $message, $args

Appears in:
Hook Type: action

See hook in core

Displaying hooks found in version: 7.0.3

do_action('wp_admin_notice, $message, $args') is found 1 times:

  • /wp-includes/functions.php line 9198
    	 *
    	 * @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.