Tribe__Tickets__Attendees::print_checkedin_totals( int $post_id )
Print Check In Totals at top of Column.
Contents
Parameters
- $post_id
-
(int) (Required) The post ID.
Source
File: src/Tribe/Attendees.php
public function print_checkedin_totals() {
$total_checked_in = Tribe__Tickets__Main::instance()->attendance_totals()->get_total_checked_in();
echo '<div class="totals-header"><h3>' . esc_html_x( 'Checked in:', 'attendee summary', 'event-tickets' ) . '</h3> <span id="total_checkedin">' . absint( $total_checked_in ) . '</span></div>';
}
Changelog
| Version | Description |
|---|---|
| 5.6.5 | Added $post_id parameter. |
| 4.6.2 | Introduced. |