Last active
June 21, 2018 08:28
-
-
Save kailoon/89acdfbd7facb80fce15 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
// To be used by theme authors to avoid duplicate favicon code now that Site Icons have been added to WordPress 4.3 | |
// If a Site Icon hasn't been set or if the `has_site_icon` function doesn't exist (ie older than WordPress 4.3) | |
if ( ! ( function_exists( 'has_site_icon' ) && has_site_icon() ) ) { | |
// your theme specific custom favicon code goes here | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment