WordPress как на ладони
Недорогой хостинг для сайтов на WordPress: wordpress.jino.ru Самая быстрая Тема-конструктор для WordPress
функция не описана

Yoast\WP\SEO\Surfaces\Values

Meta::get_head() public Yoast 1.0

Returns the output as would be presented in the head.

{} Это метод класса: Meta{}

Хуки из метода
Возвращает

Строку. The HTML output of the head.

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

$Meta = new Meta();
$Meta->get_head();

Код Meta::get_head() Yoast 15.1.1

<?php
public function get_head() {
	$presenters = $this->front_end->get_presenters( $this->context->page_type );

	if ( $this->context->page_type === 'Date_Archive' ) {
		$callback   = function ( $presenter ) {
			return ! \is_a( $presenter, Rel_Next_Presenter::class )
				&& ! \is_a( $presenter, Rel_Prev_Presenter::class );
		};
		$presenters = \array_filter( $presenters, $callback );
	}

	$output = '';

	/** This filter is documented in src/integrations/front-end-integration.php */
	$presentation = \apply_filters( 'wpseo_frontend_presentation', $this->context->presentation, $this->context );
	foreach ( $presenters as $presenter ) {
		$presenter->presentation = $presentation;
		$presenter->helpers      = $this->helpers;
		$presenter->replace_vars = $this->replace_vars;

		$presenter_output = $presenter->present();
		if ( ! empty( $presenter_output ) ) {
			$output .= $presenter_output . \PHP_EOL;
		}
	}

	return \trim( $output );
}