WPSEO_Frontend::get_title() private Yoast 1.0
Used for static home and posts pages as well as singular titles.
{} Это метод класса: WPSEO_Frontend{}
Хуков нет.
Возвращает
Строку. The content title.
Использование
// private - только в коде основоного (родительского) класса $result = $this->get_title( $object );
- $object(объект/null)
- If filled, object to get the title for.
По умолчанию: null
Код WPSEO_Frontend::get_title() WPSEO Frontend::get title Yoast 15.6.2
private function get_title( $object = null ) {
_deprecated_function( __METHOD__, 'WPSEO 14.0' );
$presentation = $this->get_current_page_presentation();
$title = $presentation->title;
return $this->replace_vars->replace( $title, $presentation->source );
}