wpseek.com
A WordPress-centric search engine for devs and theme authors



do_favicon › WordPress Function

Since5.4.0
Deprecatedn/a
do_favicon ( No parameters )
Defined at:
Codex:

Displays the favicon.ico file content.



Source

function do_favicon() {
	/**
	 * Fires when serving the favicon.ico file.
	 *
	 * @since 5.4.0
	 */
	do_action( 'do_faviconico' );

	wp_redirect( get_site_icon_url( 32, includes_url( 'images/w-logo-blue-white-bg.png' ) ) );
	exit;
}