File Editor
Directories:
.. (Back)
Files:
Glance_Items.php
Hooks.php
Plugin_Action_Links.php
Provider.php
Upsell.php
Create New File
Create
Edit File: Hooks.php
<?php /** * Handles hooking all the actions and filters used by the admin area. * * To remove a filter: * remove_filter( 'some_filter', [ tribe( TEC\Tickets\Admin\Hooks::class ), 'some_filtering_method' ] ); * remove_filter( 'some_filter', [ tribe( 'tickets.admin.hooks' ), 'some_filtering_method' ] ); * * To remove an action: * remove_action( 'some_action', [ tribe( TEC\Tickets\Admin\Hooks::class ), 'some_method' ] ); * remove_action( 'some_action', [ tribe( 'tickets.admin.hooks' ), 'some_method' ] ); * * @since 5.3.4 * * @package TEC\Tickets\Admin */ namespace TEC\Tickets\Admin; /** * Class Hooks. * * @since 5.3.4 * * @package TEC\Tickets\Admin */ class Hooks extends \TEC\Common\Contracts\Service_Provider { /** * Binds and sets up implementations. * * @since 5.3.4 */ public function register() { tribe( Upsell::class )->hooks(); tribe( Plugin_Action_Links::class )->hooks(); tribe( Glance_Items::class )->hooks(); } }
Save Changes
Rename File
Rename