WPSEO_Frontend::__call() public Yoast 1.0
Catches call to methods that don't exist and might deprecated.
{} Это метод класса: WPSEO_Frontend{}
Хуков нет.
Возвращает
null
. Null. Ничего.
Использование
$WPSEO_Frontend = new WPSEO_Frontend(); $WPSEO_Frontend->__call( $method, $arguments );
- $method(строка) (обязательный)
- The called method.
- $arguments(массив) (обязательный)
- The given arguments.
Код WPSEO_Frontend::__call() WPSEO Frontend:: call Yoast 16.1.1
public function __call( $method, $arguments ) {
_deprecated_function( $method, 'WPSEO 14.0' );
$title_methods = [
'title',
'fix_woo_title',
'get_content_title',
'get_seo_title',
'get_taxonomy_title',
'get_author_title',
'get_title_from_options',
'get_default_title',
'force_wp_title',
];
if ( in_array( $method, $title_methods, true ) ) {
return $this->get_title();
}
return null;
}