Yoast\WP\SEO\Presentations

Indexable_Post_Type_Presentation::generate_open_graph_article_publisher()publicYoast 1.0

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() Yoast 22.4

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 '';
}