Yoast\WP\SEO\Presentations

Indexable_Presentation::generate_open_graph_locale()publicYoast 1.0

Generates the open graph locale.

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

Хуков нет.

Возвращает

Строку. The open graph locale.

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

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

Код Indexable_Presentation::generate_open_graph_locale() Yoast 22.3

public function generate_open_graph_locale() {
	return $this->open_graph_locale_generator->generate( $this->context );
}