Server : Apache/2 System : Linux vps.sdns.vn 3.10.0-1160.15.2.el7.x86_64 #1 SMP Wed Feb 3 15:06:38 UTC 2021 x86_64 User : phatdatpq ( 1022) PHP Version : 7.2.34 Disable Function : exec,system,passthru,shell_exec,proc_close,proc_open,dl,popen,show_source,posix_kill,posix_mkfifo,posix_getpwuid,posix_setpgid,posix_setsid,posix_setuid,posix_setgid,posix_seteuid,posix_setegid,posix_uname Directory : /home/phatdatpq/public_html/wp-content/plugins/menu-icons/vendor/codeinwp/themeisle-sdk/ |
Upload File : |
<?php /** * File responsible for sdk files loading. * * @package ThemeIsleSDK * @copyright Copyright (c) 2017, Marius Cristea * @license http://opensource.org/licenses/gpl-2.0.php GNU Public License * @since 1.1.0 */ namespace ThemeisleSDK; if ( ! defined( 'ABSPATH' ) ) { exit; } $products = apply_filters( 'themeisle_sdk_products', array() ); $path = dirname( __FILE__ ); $files_to_load = [ $path . '/src/' . 'Loader.php', $path . '/src/' . 'Product.php', $path . '/src/' . 'Common/Abstract_module.php', $path . '/src/' . 'Common/Module_factory.php', $path . '/src/' . 'Modules/Dashboard_widget.php', $path . '/src/' . 'Modules/Rollback.php', $path . '/src/' . 'Modules/Uninstall_feedback.php', $path . '/src/' . 'Modules/Licenser.php', $path . '/src/' . 'Modules/Endpoint.php', $path . '/src/' . 'Modules/Notification.php', $path . '/src/' . 'Modules/Logger.php', $path . '/src/' . 'Modules/Translate.php', $path . '/src/' . 'Modules/Review.php', $path . '/src/' . 'Modules/Recommendation.php', ]; $files_to_load = array_merge( $files_to_load, apply_filters( 'themeisle_sdk_required_files', [] ) ); foreach ( $files_to_load as $file ) { if ( is_file( $file ) ) { require_once $file; } } Loader::init(); foreach ( $products as $product ) { Loader::add_product( $product ); }