WPSEO_Addon_Manager::register_hooks()publicYoast 1.0

Hooks into WordPress.

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

Хуков нет.

Возвращает

null. Ничего.

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

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

Код WPSEO_Addon_Manager::register_hooks() Yoast 19.7.1

public function register_hooks() {
	add_action( 'admin_init', [ $this, 'validate_addons' ], 15 );
	add_filter( 'pre_set_site_transient_update_plugins', [ $this, 'check_for_updates' ] );
	add_filter( 'plugins_api', [ $this, 'get_plugin_information' ], 10, 3 );
	add_action( 'plugins_loaded', [ $this, 'register_expired_messages' ], 10 );
}