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

SimplePie::get_image_width() WP 1.0

Get the feed logo's link

RSS 2.0 feeds are allowed to have a "feed logo" width.

Uses <image><width> or defaults to 88.0 if no width is specified and the feed is an RSS 2.0 feed.

Это метод класса: SimplePie

Хуков нет.




$SimplePie = new SimplePie();
$var = $SimplePie->get_image_width();

Код SimplePie::get image width: wp-includes/class-simplepie.php WP 5.4.1

public function get_image_width()
	if ($return = $this->get_image_tags(SIMPLEPIE_NAMESPACE_RSS_20, 'width'))
		return round($return[0]['data']);
	elseif ($this->get_type() & SIMPLEPIE_TYPE_RSS_SYNDICATION && $this->get_image_tags(SIMPLEPIE_NAMESPACE_RSS_20, 'url'))
		return 88.0;
		return null;