amp_site_icon_url

apply_filters( 'amp_site_icon_url',  string $schema_img_url )

Description #

Filters the publisher logo URL in the schema.org data.

Previously, this only filtered the Site Icon, as that was the only possible schema.org publisher logo. But the Custom Logo is now the preferred publisher logo, if it exists and its dimensions aren't too big.


Parameters #

$schema_img_url

URL of the publisher logo, either the Custom Logo or the Site Icon.



Changelog #

Changelog
Version Description
0.3 Introduced.