File Editor
Directories:
.. (Back)
Columns
Home
Manager
Screen_Options
Settings
Views
Files:
Columns.php
Display_Settings.php
Move_Ticket_Types.php
Move_Tickets.php
Notices.php
Provider.php
Screen_Options.php
Settings.php
Ticket_History.php
Views.php
Create New File
Create
Edit File: Display_Settings.php
<?php /** * Manages the admin settings UI in relation to display configuration. * * @since 4.12.3 */ class Tribe__Tickets__Admin__Display_Settings { /** * Add display settings on the Events > Settings > Display tab. * * @since 4.12.3 */ public function hook() { add_filter( 'tribe_tickets_settings_tab_fields', [ $this, 'add_display_settings' ] ); } /** * Add display settings for Event Tickets. * * @since 4.12.3 * * @param array $settings List of display settings. * * @return array List of display settings. */ public function add_display_settings( $settings ) { $plugin_path = Tribe__Tickets__Main::instance()->plugin_path; include $plugin_path . 'src/admin-views/tribe-options-display.php'; return $settings; } }
Save Changes
Rename File
Rename