Yoast\WP\SEO\Presentations
Indexable_Search_Result_Page_Presentation::generate_robots() public Yoast 1.0
Generates the robots value.
{} Это метод класса: Indexable_Search_Result_Page_Presentation{}
Хуков нет.
Возвращает
Массив. The robots value.
Использование
$Indexable_Search_Result_Page_Presentation = new Indexable_Search_Result_Page_Presentation(); $Indexable_Search_Result_Page_Presentation->generate_robots();
Код Indexable_Search_Result_Page_Presentation::generate_robots() Indexable Search Result Page Presentation::generate robots Yoast 15.6.2
public function generate_robots() {
$robots = $this->get_base_robots();
$robots['index'] = 'noindex';
return $this->filter_robots( $robots );
}