PATH:
home
/
letacommog
/
rdvenunclick.fr1
/
wp-content
/
plugins
/
dokan-pro
/
modules
/
follow-store
<?php namespace WeDevs\DokanPro\Modules\FollowStore; final class Module { /** * Module version * * @since 1.0.0 * * @var string */ public $version = '1.0.0'; /** * Class constructor * * @since 1.0.0 * * @return void */ public function __construct() { $this->define_constants(); $this->includes(); $this->instances(); } /** * Module constants * * @since 1.0.0 * * @return void */ private function define_constants() { define( 'DOKAN_FOLLOW_STORE_VERSION' , $this->version ); define( 'DOKAN_FOLLOW_STORE_FILE' , __FILE__ ); define( 'DOKAN_FOLLOW_STORE_PATH' , dirname( DOKAN_FOLLOW_STORE_FILE ) ); define( 'DOKAN_FOLLOW_STORE_INCLUDES' , DOKAN_FOLLOW_STORE_PATH . '/includes' ); define( 'DOKAN_FOLLOW_STORE_URL' , plugins_url( '', DOKAN_FOLLOW_STORE_FILE ) ); define( 'DOKAN_FOLLOW_STORE_ASSETS' , DOKAN_FOLLOW_STORE_URL . '/assets' ); define( 'DOKAN_FOLLOW_STORE_VIEWS', DOKAN_FOLLOW_STORE_PATH . '/views' ); } /** * Include module related files * * @since 1.0.0 * * @return void */ private function includes() { require_once DOKAN_FOLLOW_STORE_INCLUDES . '/functions.php'; require_once DOKAN_FOLLOW_STORE_INCLUDES . '/class-dokan-follow-store-install.php'; require_once DOKAN_FOLLOW_STORE_INCLUDES . '/class-dokan-follow-store-scripts.php'; require_once DOKAN_FOLLOW_STORE_INCLUDES . '/class-dokan-follow-store-ajax.php'; require_once DOKAN_FOLLOW_STORE_INCLUDES . '/class-dokan-follow-store-follow-button.php'; require_once DOKAN_FOLLOW_STORE_INCLUDES . '/class-dokan-follow-store-my-account.php'; require_once DOKAN_FOLLOW_STORE_INCLUDES . '/class-dokan-follow-store-vendor-dashboard.php'; require_once DOKAN_FOLLOW_STORE_INCLUDES . '/class-dokan-follow-store-cron.php'; require_once DOKAN_FOLLOW_STORE_INCLUDES . '/class-dokan-follow-store-email-loader.php'; } /** * Create module related class instances * * @since 1.0.0 * * @return void */ private function instances() { new \Dokan_Follow_Store_Install(); new \Dokan_Follow_Store_Scripts(); new \Dokan_Follow_Store_Ajax(); new \Dokan_Follow_Store_Follow_Button(); new \Dokan_Follow_Store_My_Account(); new \Dokan_Follow_Store_Vendor_Dashboard(); new \Dokan_Follow_Store_Cron(); new \Dokan_Follow_Store_Email_Loader(); } }
[+]
..
[+]
assets
[-] module.php
[edit]
[+]
views
[+]
includes