Yoast\WP\SEO\Presentations

Indexable_Presentation::set_generators()publicYoast 1.0

Sets the generator dependencies.

{} Это метод класса: Indexable_Presentation{}

Хуков нет.

Возвращает

null. Ничего.

Использование

$Indexable_Presentation = new Indexable_Presentation();
$Indexable_Presentation->set_generators(;

Код Indexable_Presentation::set_generators() Yoast 19.7.1

public function set_generators(
	Schema_Generator $schema_generator,
	Open_Graph_Locale_Generator $open_graph_locale_generator,
	Open_Graph_Image_Generator $open_graph_image_generator,
	Twitter_Image_Generator $twitter_image_generator,
	Breadcrumbs_Generator $breadcrumbs_generator
) {
	$this->schema_generator            = $schema_generator;
	$this->open_graph_locale_generator = $open_graph_locale_generator;
	$this->open_graph_image_generator  = $open_graph_image_generator;
	$this->twitter_image_generator     = $twitter_image_generator;
	$this->breadcrumbs_generator       = $breadcrumbs_generator;
}