Yoast\WP\SEO\Presentations
Indexable_Post_Type_Presentation::generate_open_graph_article_publisher
Generates the open graph article publisher.
Метод класса: Indexable_Post_Type_Presentation{}
Хуков нет.
Возвращает
Строку. The open graph article publisher.
Использование
$Indexable_Post_Type_Presentation = new Indexable_Post_Type_Presentation(); $Indexable_Post_Type_Presentation->generate_open_graph_article_publisher();
Код Indexable_Post_Type_Presentation::generate_open_graph_article_publisher() Indexable Post Type Presentation::generate open graph article publisher Yoast 28.0
public function generate_open_graph_article_publisher() {
$open_graph_article_publisher = $this->context->open_graph_publisher;
if ( $open_graph_article_publisher ) {
return $open_graph_article_publisher;
}
return '';
}