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

SimplePie::get_image_title() WP 1.0

Get the feed logo's title

RSS 0.9.0, 1.0 and 2.0 feeds are allowed to have a "feed logo" title.

Uses <image><title> or <image><dc:title>

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

Хуков нет.

Возвращает

Строку/null.

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

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

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

<?php
public function get_image_title()
{
	if ($return = $this->get_image_tags(SIMPLEPIE_NAMESPACE_RSS_10, 'title'))
	{
		return $this->sanitize($return[0]['data'], SIMPLEPIE_CONSTRUCT_TEXT);
	}
	elseif ($return = $this->get_image_tags(SIMPLEPIE_NAMESPACE_RSS_090, 'title'))
	{
		return $this->sanitize($return[0]['data'], SIMPLEPIE_CONSTRUCT_TEXT);
	}
	elseif ($return = $this->get_image_tags(SIMPLEPIE_NAMESPACE_RSS_20, 'title'))
	{
		return $this->sanitize($return[0]['data'], SIMPLEPIE_CONSTRUCT_TEXT);
	}
	elseif ($return = $this->get_image_tags(SIMPLEPIE_NAMESPACE_DC_11, 'title'))
	{
		return $this->sanitize($return[0]['data'], SIMPLEPIE_CONSTRUCT_TEXT);
	}
	elseif ($return = $this->get_image_tags(SIMPLEPIE_NAMESPACE_DC_10, 'title'))
	{
		return $this->sanitize($return[0]['data'], SIMPLEPIE_CONSTRUCT_TEXT);
	}
	else
	{
		return null;
	}
}