wp_admin_notice

wp_admin_notice

Hook Type: action

See hook in core

Displaying hooks found in version: wordpress-6.7

do_action('wp_admin_notice') is found 1 times:

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