Everyone knows that only bad programmers like me use sprintf in 2025. PHP is amazing.
Look at this siq wp shortcode that adds a site’s fav icon to a link: Google.com
[favlink url="https://example.com" text="Example" size="16"]
Or, if you omit the size field it tries to autosize the favicon to match the text size.
I hope it works in my blogroll so I can have nice looking links to quality sites like WoodReviewer