WordPress как на ладони
Очень Удобный и Быстрый Хостинг для сайтов на WordPress. Пользуюсь сам и вам рекомендую!
функция не описана

WPSEO_Addon_Manager::get_myyoast_site_information() public Yoast 1.0

Retrieves information from MyYoast about which addons are connected to the current site.

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

Хуков нет.

Возвращает

stdClass. The list of addons activated for this site.

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

$WPSEO_Addon_Manager = new WPSEO_Addon_Manager();
$WPSEO_Addon_Manager->get_myyoast_site_information();

Код WPSEO_Addon_Manager::get_myyoast_site_information() Yoast 17.9

public function get_myyoast_site_information() {
	if ( $this->site_information === null ) {
		$this->site_information = $this->get_site_information_transient();
	}

	if ( $this->site_information ) {
		return $this->site_information;
	}

	$this->site_information = $this->request_current_sites();
	if ( $this->site_information ) {
		$this->site_information = $this->map_site_information( $this->site_information );

		$this->set_site_information_transient( $this->site_information );

		return $this->site_information;
	}

	return $this->get_site_information_default();
}