Tribe__Tickets_Plus__Editor::render_capacity_data()
Render the capacity data on the settings page.
Return
(void)
Source
File: src/Tribe/Editor.php
public function render_capacity_data(): void {
$post_id = get_the_ID();
$capacity_table = new Capacity_Table( $post_id );
$admin_views = tribe( 'tickets-plus.admin.views' );
$admin_views->template( 'editor/fieldset/settings-capacity', [ 'capacity_table' => $capacity_table ] );
}
Changelog
| Version | Description |
|---|---|
| 5.9.0 | Introduced. |