Tribe__Tickets__RSVP::is_not_going_enabled( int $ticket_id )
Check if the not going option is enabled for the provided rsvp ticket id.
Contents
Parameters
- $ticket_id
-
(int) (Required) The ticket post ID.
Return
(bool) Whether the not going option is enabled or not.
Source
File: src/Tribe/RSVP.php
public function is_not_going_enabled( $ticket_id ): bool {
return tribe_is_truthy( get_post_meta( $ticket_id, $this->show_not_going, true ) );
}
Changelog
| Version | Description |
|---|---|
| 5.5.9 | Introduced. |