PATH:
home
/
letacommog
/
pymreception1
/
wp-content
/
plugins
/
wc-frontend-manager-groups-staffs
/
core
<?php /** * WCFM Groups & Staffs plugin core * * Plugin Ajax Controler * * @author WC Lovers * @package wcfmgs/core * @version 1.0.0 */ class WCFMgs_Ajax { public $controllers_path; public function __construct() { global $WCFM, $WCFMgs; $this->controllers_path = $WCFMgs->plugin_path . 'controllers/'; add_action( 'after_wcfm_ajax_controller', array( &$this, 'wcfmgs_ajax_controller' ) ); } /** * WCFM Groups & Staffs Ajax Controllers */ public function wcfmgs_ajax_controller() { global $WCFM, $WCFMgs; $controller = ''; if( isset( $_POST['controller'] ) ) { $controller = $_POST['controller']; switch( $controller ) { case 'wcfm-capability': include_once( $this->controllers_path . 'wcfmgs-controller-capability.php' ); new WCFMgs_Capability_Controller(); break; case 'wcfm-groups': include_once( $this->controllers_path . 'wcfmgs-controller-groups.php' ); new WCFMgs_Groups_Controller(); break; case 'wcfm-groups-manage': include_once( $this->controllers_path . 'wcfmgs-controller-groups-manage.php' ); new WCFMgs_Groups_Manage_Controller(); break; case 'wcfm-managers': include_once( $this->controllers_path . 'wcfmgs-controller-managers.php' ); new WCFMgs_Managers_Controller(); break; case 'wcfm-managers-manage': include_once( $this->controllers_path . 'wcfmgs-controller-managers-manage.php' ); new WCFMgs_Managers_Manage_Controller(); break; case 'wcfm-staffs': include_once( $this->controllers_path . 'wcfmgs-controller-staffs.php' ); new WCFMgs_Staffs_Controller(); break; case 'wcfm-staffs-manage': include_once( $this->controllers_path . 'wcfmgs-controller-staffs-manage.php' ); new WCFMgs_Staffs_Manage_Controller(); break; } } } }
[+]
..
[-] class-wcfmgs-wcmarketplace.php
[edit]
[-] class-wcfmgs-library.php
[edit]
[-] class-wcfmgs-non-ajax.php
[edit]
[+]
license
[-] class-wcfmgs-vendor-groups.php
[edit]
[-] class-wcfmgs-frontend.php
[edit]
[-] class-wcfmgs-ajax.php
[edit]
[-] class-wcfmgs-license.php
[edit]
[-] class-wcfmgs-template.php
[edit]
[-] class-wcfmgs-shop-staffs.php
[edit]
[-] class-wcfmgs-wcpvendors.php
[edit]
[-] class-wcfmgs.php
[edit]
[-] class-wcfmgs-shop-managers.php
[edit]
[-] class-wcfmgs-wcvendors.php
[edit]
[-] class-wcfmgs-dokan.php
[edit]
[-] class-wcfmgs-wcfmmarketplace.php
[edit]
[-] class-wcfmgs-capability.php
[edit]
[-] class-wcfmgs-vendor-support.php
[edit]