WPSEO_Frontend::get_robots() public Yoast 1.0
Retrieves the meta robots value.
{} Это метод класса: WPSEO_Frontend{}
Хуков нет.
Возвращает
Строку
. Null. Ничего.
Использование
$WPSEO_Frontend = new WPSEO_Frontend(); $WPSEO_Frontend->get_robots();
Код WPSEO_Frontend::get_robots() WPSEO Frontend::get robots Yoast 16.1.1
public function get_robots() {
_deprecated_function( __METHOD__, 'WPSEO 14.0' );
$presentation = $this->get_current_page_presentation();
return $presentation->robots;
}