WordPress как на ладони
Недорогой хостинг для сайтов на WordPress: wordpress.jino.ru
функция не описана

WP_Site_Icon::intermediate_image_sizes() public WP 4.3.0

Adds Site Icon sizes to the array of image sizes on demand.

Это метод класса: WP_Site_Icon{}

Хуки из метода
Возвращает

Строку[]. Array of image size names.

Использование

$WP_Site_Icon = new WP_Site_Icon();
$WP_Site_Icon->intermediate_image_sizes( $sizes );
$sizes(строка[])
Array of image size names.
По умолчанию: array()

Список изменений

С версии 4.3.0 Введена.

Код WP_Site_Icon::intermediate_image_sizes() WP 5.5.1

wp-admin/includes/class-wp-site-icon.php
<?php
public function intermediate_image_sizes( $sizes = array() ) {
	/** This filter is documented in wp-admin/includes/class-wp-site-icon.php */
	$this->site_icon_sizes = apply_filters( 'site_icon_image_sizes', $this->site_icon_sizes );
	foreach ( $this->site_icon_sizes as $size ) {
		$sizes[] = 'site_icon-' . $size;
	}

	return $sizes;
}