Yoast\WP\SEO\Presentations
Indexable_Term_Archive_Presentation::generate_open_graph_description()
Generates the Open Graph description.
Метод класса: Indexable_Term_Archive_Presentation{}
Хуков нет.
Возвращает
Строку
. The Open Graph description.
Использование
$Indexable_Term_Archive_Presentation = new Indexable_Term_Archive_Presentation(); $Indexable_Term_Archive_Presentation->generate_open_graph_description();
Код Indexable_Term_Archive_Presentation::generate_open_graph_description() Indexable Term Archive Presentation::generate open graph description Yoast 22.3
public function generate_open_graph_description() { $open_graph_description = parent::generate_open_graph_description(); if ( $open_graph_description ) { return $open_graph_description; } return $this->taxonomy->get_term_description( $this->model->object_id ); }