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

Yoast\WP\SEO\Integrations

Front_End_Integration::present_head() public Yoast 1.0

Echoes all applicable presenters for a page.

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

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

null. Ничего.

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

$Front_End_Integration = new Front_End_Integration();
$Front_End_Integration->present_head();

Код Front_End_Integration::present_head() Yoast 16.4

<?php
public function present_head() {
	$context    = $this->context_memoizer->for_current_page();
	$presenters = $this->get_presenters( $context->page_type );

	/**
	 * Filter 'wpseo_frontend_presentation' - Allow filtering the presentation used to output our meta values.
	 *
	 * @api Indexable_Presention The indexable presentation.
	 */
	$presentation = \apply_filters( 'wpseo_frontend_presentation', $context->presentation, $context );

	echo \PHP_EOL;
	foreach ( $presenters as $presenter ) {
		$presenter->presentation = $presentation;
		$presenter->helpers      = $this->helpers;
		$presenter->replace_vars = $this->replace_vars;

		$output = $presenter->present();
		if ( ! empty( $output ) ) {
			// phpcs:ignore WordPress.Security.EscapeOutput -- Presenters are responsible for correctly escaping their output.
			echo "\t" . $output . \PHP_EOL;
		}
	}
	echo \PHP_EOL . \PHP_EOL;
}