Yoast\WP\SEO\Abilities\Infrastructure

Term_SEO_Meta_Writer::get_stored_meta │ protected │ Yoast 1.0

Returns the full stored term meta, merged with the defaults.

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

Хуков нет.

Возвращает

array<string, string>|false. The stored term meta, or false when the term does not exist.

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

// protected - в коде основоного (родительского) или дочернего класса
$result = $this->get_stored_meta( $term_id, $taxonomy );
$term_id(int) (обязательный)
The term ID.
$taxonomy(строка) (обязательный)
The taxonomy of the term.

Код Term_SEO_Meta_Writer::get_stored_meta() Yoast 28.9

protected function get_stored_meta( int $term_id, string $taxonomy ) {
	return WPSEO_Taxonomy_Meta::get_term_meta( $term_id, $taxonomy );
}