A WordPress-centric search engine for devs and theme authors



do_favicon ›

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

Display 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, admin_url( 'images/w-logo-blue.png' ) ) );
	exit;
}