Withdrawal::__construct()


Source

File: classes/Withdrawal.php

	public function __construct() {
		$this->get_options                = $this->get_options();
		$this->withdraw_methods           = $this->withdraw_methods();
		$this->available_withdraw_methods = $this->available_withdraw_methods();

		add_action( 'dozent/option/field_group/after/dozent_withdraw/withdraw_methods',
			[ $this, 'withdraw_admin_options' ] );
		add_action( 'dozent_option_save_after', [ $this, 'withdraw_option_save' ] );

		add_dozent_action( 'save_withdraw_account', [ $this, 'save_withdraw_account' ] );
		add_dozent_action( 'balance_withdrawal', [ $this, 'balance_withdrawal' ] );
	}