Yoast\WP\SEO\Helpers\Twitter

Image_Helper::get_image_size()publicYoast 1.0

The image size to use for Twitter.

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

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

Возвращает

Строку. Image size string.

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

$Image_Helper = new Image_Helper();
$Image_Helper->get_image_size();

Код Image_Helper::get_image_size() Yoast 19.2

public function get_image_size() {
	/**
	 * Filter: 'wpseo_twitter_image_size' - Allow changing the Twitter Card image size.
	 *
	 * @api string $featured_img Image size string.
	 */
	return (string) \apply_filters( 'wpseo_twitter_image_size', 'full' );
}