Yoast\WP\SEO\Integrations\Third_Party
WPML::wpml_get_home_url() public Yoast 1.0
Returns the original URL instead of the language-enriched URL. This method gets automatically triggered by the wpml_get_home_url filter.
{} Это метод класса: WPML{}
Хуков нет.
Возвращает
Строку. The original url.
Использование
$WPML = new WPML(); $WPML->wpml_get_home_url( $home_url, $url );
- $home_url(строка) (обязательный)
- The url altered by WPML. Unused.
- $url(строка) (обязательный)
- The url that isn't altered by WPML.
Код WPML::wpml_get_home_url() WPML::wpml get home url Yoast 15.6.2
public function wpml_get_home_url( $home_url, $url ) {
return $url;
}