Yoast\WP\SEO\User_Profiles_Additions\User_Interface

User_Profiles_Additions_Ui::register_hooks()publicYoast 1.0

Initializes the integration.

This is the place to register hooks and filters.

Метод класса: User_Profiles_Additions_Ui{}

Хуков нет.

Возвращает

null. Ничего (null).

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

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

Код User_Profiles_Additions_Ui::register_hooks() Yoast 24.3

public function register_hooks() {
	\add_action( 'show_user_profile', [ $this, 'add_hook_to_user_profile' ] );
	\add_action( 'edit_user_profile', [ $this, 'add_hook_to_user_profile' ] );
}