Tribe__Events__Community__Tickets__Gateway__Abstract::fee_flat()

returns the flat fee for tickets. Combines the gateway flat fee with the site flat fee if configured with one.

Contents


Return

(float)


Top ↑

Source

File: src/Tribe/Gateway/Abstract.php

	public function fee_flat() {
		$flat_fee = (float) $this->fee_flat;

		if ( $this->has_site_fee_flat() ) {
			$flat_fee += (float) $this->site_fee_flat;
		}

		return $flat_fee;
	}