Skip to content

Instantly share code, notes, and snippets.

What would you like to do?
Better way (shows site icon from customizer if existent):
* Do not show favicon (prevents WP logo from showing up since WP 5.4).
* Does NOT show a maybe-existent site icon instead. For that, look here:
add_action( 'do_faviconico', function() {
header( 'Content-Type: image/' );
} );
Copy link

webdados commented Apr 2, 2020

This kills the customizer icon.

I think this might be a better solution:

Copy link

florianbrinkmann commented Apr 2, 2020

Yes, you are right. Will update the code with a link to your Gist

Copy link

webdados commented Apr 2, 2020


Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment