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

Yoast\WP\SEO\Integrations

Front_End_Integration::register_hooks() public Yoast 1.0

Registers the appropriate hooks to show the SEO metadata on the frontend.

Removes some actions to remove metadata that WordPress shows on the frontend, to avoid duplicate and/or mismatched metadata.

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

Хуков нет.

Возвращает

null. Ничего.

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

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

Код Front_End_Integration::register_hooks() Yoast 16.8

<?php
public function register_hooks() {
	\add_action( 'wp_head', [ $this, 'call_wpseo_head' ], 1 );
	// Filter the title for compatibility with other plugins and themes.
	\add_filter( 'wp_title', [ $this, 'filter_title' ], 15 );

	// Removes our robots presenter from the list when wp_robots is handling this.
	\add_filter( 'wpseo_frontend_presenter_classes', [ $this, 'filter_robots_presenter' ] );

	\add_action( 'wpseo_head', [ $this, 'present_head' ], -9999 );

	\remove_action( 'wp_head', 'rel_canonical' );
	\remove_action( 'wp_head', 'index_rel_link' );
	\remove_action( 'wp_head', 'start_post_rel_link' );
	\remove_action( 'wp_head', 'adjacent_posts_rel_link_wp_head' );
	\remove_action( 'wp_head', 'noindex', 1 );
	\remove_action( 'wp_head', '_wp_render_title_tag', 1 );
	\remove_action( 'wp_head', 'gutenberg_render_title_tag', 1 );
}