Inpsyde\MultilingualPress\Common\Setting\User\UserSetting::register PHP Method

register() public method

Registers the according callbacks.
Since: 3.0.0
public register ( ) : void
return void
    public function register()
    {
        add_action('personal_options', function (WP_User $user) {
            (new UserSettingView($this->model, $this->check_user))->render($user);
        });
        add_action('profile_update', [$this->updater, 'update']);
    }