Yoast\WP\SEO\Presentations
Indexable_Presentation::generate_robots()
Generates the robots value.
Метод класса: Indexable_Presentation{}
Хуков нет.
Возвращает
Массив
. The robots value.
Использование
$Indexable_Presentation = new Indexable_Presentation(); $Indexable_Presentation->generate_robots();
Код Indexable_Presentation::generate_robots() Indexable Presentation::generate robots Yoast 24.4
public function generate_robots() { $robots = $this->get_base_robots(); return $this->filter_robots( $robots ); }