Yoast\WP\SEO\Presentations
Indexable_Presentation::generate_open_graph_description() public Yoast 1.0
Generates the open graph description.
{} Это метод класса: Indexable_Presentation{}
Хуков нет.
Возвращает
Строку. The open graph description.
Использование
$Indexable_Presentation = new Indexable_Presentation(); $Indexable_Presentation->generate_open_graph_description();
Код Indexable_Presentation::generate_open_graph_description() Indexable Presentation::generate open graph description Yoast 15.6.2
public function generate_open_graph_description() {
if ( $this->model->open_graph_description ) {
return $this->model->open_graph_description;
}
return $this->meta_description;
}