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

Yoast_License_Manager::get_url() public Yoast 1.0

Returns the home url with the following modifications:

In case of a multisite setup we return the network_home_url. In case of no multisite setup we return the home_url while overriding the WPML filter.

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

Хуков нет.

Возвращает

Null. Ничего.

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

$Yoast_License_Manager = new Yoast_License_Manager();
$Yoast_License_Manager->get_url();

Код Yoast_License_Manager::get_url() Yoast 15.1.1

<?php
public function get_url() {
	// Add a new filter to undo WPML's changing of home url.
	add_filter( 'wpml_get_home_url', array( $this, 'wpml_get_home_url' ), 10, 2 );

	// If the plugin is network activated, use the network home URL.
	if ( $this->is_network_activated ) {
		$url = network_home_url();
	}

	// Otherwise use the home URL for this specific site.
	if ( ! $this->is_network_activated ) {
		$url = home_url();
	}

	remove_filter( 'wpml_get_home_url', array( $this, 'wpml_get_home_url' ), 10 );

	return $url;
}