Tribe__Tickets__Tickets::front_end_tickets_form_in_content( string $content )
Prints the front-end tickets form in the post content.
Contents
Parameters
- $content
-
(string) (Required) The post original content.
Return
(string) The updated content.
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;
}