Tribe__Events__Community__Tickets__Main::payment_options_form()

Payment options form object accessor method

Topics


Source #

File: src/Tribe/Main.php

	public function payment_options_form() {
		// Added @since 4.6.2 as the payments option page does not trigger isEditPage so styles are not enqueued
		Tribe__Events__Community__Main::instance()->isEditPage = true;

		if ( ! $this->payment_options_form ) {
			$this->payment_options_form = new Tribe__Events__Community__Tickets__Payment_Options_Form;
			$this->payment_options_form->set_default( 'payment_fee_setting', $this->get_payment_fee_setting() );
		}

		return $this->payment_options_form;
	}