Yoast\WP\SEO\Integrations\Third_Party
AMP::register_hooks() public Yoast 1.0
Initializes the integration.
This is the place to register hooks and filters.
{} Это метод класса: AMP{}
Хуков нет.
Возвращает
null.
Использование
$AMP = new AMP(); $AMP->register_hooks();
Код AMP::register_hooks() AMP::register hooks Yoast 15.6.2
public function register_hooks() {
\add_action( 'amp_post_template_head', [ $this, 'remove_amp_meta_output' ], 0 );
\add_action( 'amp_post_template_head', [ $this->front_end, 'call_wpseo_head' ], 9 );
}