Yoast\WP\SEO\User_Meta\User_Interface
Custom_Meta_Integration::register_hooks
Registers action hook.
Метод класса: Custom_Meta_Integration{}
Хуков нет.
Возвращает
null. Ничего (null).
Использование
$Custom_Meta_Integration = new Custom_Meta_Integration(); $Custom_Meta_Integration->register_hooks(): void;
Код Custom_Meta_Integration::register_hooks() Custom Meta Integration::register hooks Yoast 27.5
public function register_hooks(): void {
\add_action( 'show_user_profile', [ $this, 'user_profile' ] );
\add_action( 'edit_user_profile', [ $this, 'user_profile' ] );
\add_action( 'personal_options_update', [ $this, 'process_user_option_update' ] );
\add_action( 'edit_user_profile_update', [ $this, 'process_user_option_update' ] );
}