Tribe__Tickets__Tickets::front_end_tickets_form_in_content( string $content )

Prints the front-end tickets form in the post content.


Parameters

$content

(string) (Required) The post original content.


Top ↑

Return

(string) The updated content.


Top ↑

Source

File: src/Tribe/Tickets.php

		public function front_end_tickets_form_in_content( $content ) {
			if ( ! $this->should_inject_ticket_form_into_post_content() ) {
				return $content;
			}

			ob_start();
			$this->front_end_tickets_form( $content );
			$form    = ob_get_clean();
			$content .= $form;

			return $content;
		}