WPSEO_Suggested_Plugins::register_hooks()publicYoast 1.0

Registers all hooks to WordPress.

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

Хуков нет.

Возвращает

null. Ничего.

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

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

Код WPSEO_Suggested_Plugins::register_hooks() Yoast 19.7.1

public function register_hooks() {
	add_action( 'admin_init', [ $this->availability_checker, 'register' ] );
	add_action( 'admin_init', [ $this, 'add_notifications' ] );
}