Tribe__Tickets_Plus__Attendees_List::modify_hide_attendee_list_optout( bool $hide_attendee_list_optout, int $post_id )
Modifies the value of tec_tickets_hide_attendee_list_optout filter found within Event Tickets.
Contents
Parameters
- $hide_attendee_list_optout
-
(bool) (Required) The original value of hide_attendee_list_optout.
- $post_id
-
(int) (Required) The post ID.
Return
(bool) The modified value of hide_attendee_list_optout.
Source
File: src/Tribe/Attendees_List.php
public function modify_hide_attendee_list_optout( $hide_attendee_list_optout, $post_id ) {
return self::is_hidden_on( $post_id );
}
Changelog
| Version | Description |
|---|---|
| 5.7.3 | Introduced. |