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: Provider.php
<?php namespace Tribe\Tickets\Admin; class Provider extends \TEC\Common\Contracts\Service_Provider { /** * Register implementations. * * @since TDB */ public function register() { tribe_singleton( Settings::class, Settings::class ); $this->add_hooks(); } /** * Add hooks. * * @since 5.4.0 */ public function add_hooks() { add_action( 'tribe_settings_do_tabs', tribe_callback( Settings::class, 'settings_ui' ) ); add_action( 'admin_menu', tribe_callback( Settings::class, 'add_admin_pages' ) ); add_action( 'network_admin_menu', tribe_callback( Settings::class, 'maybe_add_network_settings_page' ) ); add_action( 'tribe_settings_do_tabs', tribe_callback( Settings::class, 'do_network_settings_tab' ), 400 ); add_filter( 'tribe_settings_page_title', tribe_callback( Settings::class, 'settings_page_title' ) ); add_filter( 'tec_admin_pages_with_tabs', tribe_callback( Settings::class, 'add_to_pages_with_tabs' ), 20, 1 ); add_filter( 'tec_admin_footer_text', tribe_callback( Settings::class, 'admin_footer_text_settings' ) ); add_filter( 'tribe-events-save-network-options', tribe_callback( Settings::class, 'maybe_hijack_save_network_settings' ), 10, 2 ); } }
Save Changes
Rename File
Rename