WordPress开发者和主题制作者的搜索引擎



wp_get_additional_image_sizes ›

Since4.7.0
已弃用n/a
wp_get_additional_image_sizes ( 没有参数 )
返回:
  • (array) Additional images size data.
定义在:
文档:

Retrieve additional image sizes.



源码

function wp_get_additional_image_sizes() {
	global $_wp_additional_image_sizes;

	if ( ! $_wp_additional_image_sizes ) {
		$_wp_additional_image_sizes = array();
	}

	return $_wp_additional_image_sizes;
}