site_icon_image_sizes

过滤钩子


apply_filters( 'site_icon_image_sizes', $this->site_icon_sizes )
参数
  • (int[])
    $site_icon_sizes
    Array of sizes available for the Site Icon.
    Required:
定义位置
  • wp-admin/includes/class-wp-site-icon.php
    , line 152
引入
4.3.0
弃用

过滤网站图标所保存的不同尺寸。

$this->site_icon_sizes = apply_filters( 'site_icon_image_sizes', $this->site_icon_sizes );