Yoast_I18n_v3::get_api_url() private Yoast 1.0
Returns the API URL to use when requesting translation information.
{} Это метод класса: Yoast_I18n_v3{}
Хуков нет.
Возвращает
Строку
. Null. Ничего.
Использование
// private - только в коде основоного (родительского) класса $result = $this->get_api_url();
Код Yoast_I18n_v3::get_api_url() Yoast I18n v3::get api url Yoast 16.1.1
private function get_api_url() {
if ( empty( $this->api_url ) ) {
$this->api_url = trailingslashit( $this->glotpress_url ) . 'api/projects/' . $this->project_slug;
}
return $this->api_url;
}