Created
July 8, 2015 16:04
-
-
Save mboldt/1c4a5387bc98853923c0 to your computer and use it in GitHub Desktop.
Override genesis site icon with jetpack site icon.
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
add_filter( 'genesis_pre_load_favicon', 'check_jetpack_site_icon' ); | |
function check_jetpack_site_icon() { | |
if (function_exists( 'jetpack_has_site_icon' ) && jetpack_has_site_icon()) { | |
return jetpack_site_icon_url(); | |
} | |
return false; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment