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


Image_Helper::get_override_image_size() public Yoast 1.0

Retrieves the overridden image size value.

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

Хуки из метода

Строку/null. The image size when overriden by filter or null when not.


$Image_Helper = new Image_Helper();

Код Image_Helper::get_override_image_size() Yoast 15.6.2

public function get_override_image_size() {
	 * Filter: 'wpseo_opengraph_image_size' - Allow overriding the image size used
	 * for Open Graph sharing. If this filter is used, the defined size will always be
	 * used for the og:image. The image will still be rejected if it is too small.
	 * Only use this filter if you manually want to determine the best image size
	 * for the `og:image` tag.
	 * Use the `wpseo_image_sizes` filter if you want to use our logic. That filter
	 * can be used to add an image size that needs to be taken into consideration
	 * within our own logic.
	 * @api string|false $size Size string.
	return \apply_filters( 'wpseo_opengraph_image_size', null );