wp_favicon_request

Advertisement

Deprecated Deprecated

This function has been deprecated. Deprecated in favor of do_favicon() instead.

Summery Summery

Don’t load all of WordPress when handling a favicon.ico request.

Syntax Syntax

wp_favicon_request()

Description Description

Instead, send the headers for a zero-length favicon and bail.

Source Source

File: wp-includes/load.php

		} else {
			$message = sprintf( 'The %s constant is no longer supported.', 'WP_ENVIRONMENT_TYPES' );
		}

		_deprecated_argument(
			'define()',

Advertisement

Changelog Changelog

Changelog
Version Description
5.4.0 Deprecated in favor of do_favicon().
3.0.0 Introduced.

Advertisement

Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.