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

Yoast\WP\SEO\Integrations\Third_Party

Web_Stories::register_hooks() public Yoast 1.0

Initializes the integration.

This is the place to register hooks and filters.

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

Хуков нет.

Возвращает

null. Ничего.

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

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

Код Web_Stories::register_hooks() Yoast 16.8

<?php
public function register_hooks() {
	\add_action( 'web_stories_enable_metadata', '__return_false' );
	\add_action( 'web_stories_enable_schemaorg_metadata', '__return_false' );
	\add_action( 'web_stories_enable_open_graph_metadata', '__return_false' );
	\add_action( 'web_stories_enable_twitter_metadata', '__return_false' );
	\remove_action( 'web_stories_story_head', 'rel_canonical' );
	\add_action( 'web_stories_story_head', [ $this->front_end, 'call_wpseo_head' ], 9 );
	\add_filter( 'wpseo_schema_article_post_types', [ $this, 'filter_schema_article_post_types' ] );
	\add_filter( 'wpseo_schema_article_type', [ $this, 'filter_schema_article_type' ], 10, 2 );
	\add_filter( 'wpseo_metadesc', [ $this, 'filter_meta_description' ], 10, 2 );
}