Tribe__Events__Community__Tickets__Main::tickets_price_description( string $description_string, WP_Post|int $ticket_id )

Modify the price field description if we’ve disabled price editing.

Hooked to tribe_tickets_price_description in event-tickets/src/admin-views/editor/fieldset/price.php.



(string) (Required) The description string.


(WP_Post|int) (Required) The ticket object or its ID.

Top ↑


(string) The new description string.

Top ↑


File: src/Tribe/Main.php

	public function tickets_price_description( $description_string, $ticket_id) {
		if ( $this->can_update_ticket_price( true, $ticket_id ) ) {
			return $description_string;

		return esc_html__( 'To update the pricing for tickets that already have sales, please contact the Site Admin.', 'tribe-events-community-tickets' );