![]() Server : Apache/2.4.52 (Ubuntu) System : Linux webserver 6.8.0-49-generic #49~22.04.1-Ubuntu SMP PREEMPT_DYNAMIC Wed Nov 6 17:42:15 UTC 2 x86_64 User : www-data ( 33) PHP Version : 8.1.2-1ubuntu2.21 Disable Function : NONE Directory : /var/www/theprintave/wp-content/plugins/dokan-lite/includes/Order/ |
<?php namespace WeDevs\Dokan\Order; use WeDevs\Dokan\Traits\ChainableContainer; // don't call the file directly if ( ! defined( 'ABSPATH' ) ) { exit; } /** * Handle permission related hooks for Orders * * @since 3.8.0 */ class Controller { use ChainableContainer; /** * Class constructor * * @since 3.8.0 */ public function __construct() { $this->init_classes(); } /** * Load required classes * * @return void */ public function init_classes() { $this->container['hooks'] = new Hooks(); $this->container['misc_hooks'] = new MiscHooks(); $this->container['email_hooks'] = new EmailHooks(); $this->container['cache'] = new OrderCache(); $this->container['frontend_hooks'] = new Frontend\Hooks(); $this->container['event_listener'] = new OrderEventListener(); if ( is_admin() ) { $this->container['permission'] = new Admin\Permissions(); $this->container['admin_hooks'] = new Admin\Hooks(); } if ( wp_doing_ajax() ) { new Ajax(); } } }