Inpsyde\MultilingualPress\Common\Admin\SettingsPage::register PHP Method

register() public method

Registers the settings page.
Since: 3.0.0
public register ( ) : boolean
return boolean Whether or not the settings page was registered successfully.
    public function register()
    {
        $action = $this->get_action();
        if (!$action) {
            return false;
        }
        return add_action($action, function () {
            $this->hookname = call_user_func_array($this->get_callback(), $this->get_callback_args());
        });
    }