apply_filters( 'amp_site_icon_url',  string $schema_img_url )

Description #

Filters the publisher logo URL in the data.

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

Parameters #


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

Changelog #

Version Description
0.3 Introduced.