WPSEO_Primary_Term_Admin::register_hooks()publicYoast 1.0

Constructor.

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

Хуков нет.

Возвращает

null. Ничего.

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

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

Код WPSEO_Primary_Term_Admin::register_hooks() Yoast 19.6.1

public function register_hooks() {
	add_filter( 'wpseo_content_meta_section_content', [ $this, 'add_input_fields' ] );

	add_action( 'admin_footer', [ $this, 'wp_footer' ], 10 );

	add_action( 'admin_enqueue_scripts', [ $this, 'enqueue_assets' ] );
}