site_icon_image_sizes WordPress Filter Hook
The site_icon_image_sizes hook allows you to specify the sizes of the images that should be used for the site icon. This can be useful if you want to use a different size for the mobile version of your site.
apply_filters( 'site_icon_image_sizes', int[] $site_icon_sizes ) #
Filters the different dimensions that a site icon is saved in.
Parameters
- $site_icon_sizes
(int[])Array of sizes available for the Site Icon.
Source
Changelog
Version | Description |
---|---|
4.3.0 | Introduced. |