PluginProbe ʕ •ᴥ•ʔ
Starter Sites & Templates by Neve / 1.4.1
Starter Sites & Templates by Neve v1.4.1
1.4.1 1.4.0 1.3.0 1.2.29 1.2.28 1.2.6 1.2.7 1.2.8 1.2.9 trunk 1.0.10 1.0.11 1.0.7 1.0.8 1.0.9 1.1.0 1.1.1 1.1.10 1.1.11 1.1.12 1.1.13 1.1.14 1.1.15 1.1.16 1.1.17 1.1.18 1.1.19 1.1.2 1.1.20 1.1.21 1.1.22 1.1.23 1.1.24 1.1.25 1.1.26 1.1.27 1.1.28 1.1.29 1.1.3 1.1.30 1.1.31 1.1.32 1.1.33 1.1.34 1.1.35 1.1.36 1.1.37 1.1.38 1.1.39 1.1.4 1.1.5 1.1.6 1.1.7 1.1.8 1.1.9 1.2.0 1.2.1 1.2.10 1.2.11 1.2.12 1.2.13 1.2.14 1.2.15 1.2.16 1.2.17 1.2.18 1.2.19 1.2.2 1.2.20 1.2.21 1.2.22 1.2.23 1.2.24 1.2.25 1.2.26 1.2.27 1.2.3 1.2.4 1.2.5
templates-patterns-collection / vendor / codeinwp / themeisle-sdk / start.php
templates-patterns-collection / vendor / codeinwp / themeisle-sdk Last commit date
assets 3 weeks ago src 2 days ago AGENTS.md 2 days ago CHANGELOG.md 2 days ago LICENSE 5 years ago index.php 5 years ago load.php 2 days ago start.php 2 months ago
start.php
60 lines
1 <?php
2 /**
3 * File responsible for sdk files loading.
4 *
5 * @package ThemeIsleSDK
6 * @copyright Copyright (c) 2017, Marius Cristea
7 * @license http://opensource.org/licenses/gpl-2.0.php GNU Public License
8 * @since 1.1.0
9 */
10
11 namespace ThemeisleSDK;
12
13 if ( ! defined( 'ABSPATH' ) ) {
14 exit;
15 }
16 $products = apply_filters( 'themeisle_sdk_products', array() );
17 $themeisle_library_path = dirname( __FILE__ );
18 $files_to_load = [
19 $themeisle_library_path . '/src/Loader.php',
20 $themeisle_library_path . '/src/Product.php',
21
22 $themeisle_library_path . '/src/Common/Abstract_module.php',
23 $themeisle_library_path . '/src/Common/Module_factory.php',
24
25 $themeisle_library_path . '/src/Modules/Script_loader.php',
26 $themeisle_library_path . '/src/Modules/Dashboard_widget.php',
27 $themeisle_library_path . '/src/Modules/Rollback.php',
28 $themeisle_library_path . '/src/Modules/Uninstall_feedback.php',
29 $themeisle_library_path . '/src/Modules/Licenser.php',
30 $themeisle_library_path . '/src/Modules/Endpoint.php',
31 $themeisle_library_path . '/src/Modules/Notification.php',
32 $themeisle_library_path . '/src/Modules/Logger.php',
33 $themeisle_library_path . '/src/Modules/Translate.php',
34 $themeisle_library_path . '/src/Modules/Translations.php',
35 $themeisle_library_path . '/src/Modules/Review.php',
36 $themeisle_library_path . '/src/Modules/Recommendation.php',
37 $themeisle_library_path . '/src/Modules/Promotions.php',
38 $themeisle_library_path . '/src/Modules/Welcome.php',
39 $themeisle_library_path . '/src/Modules/Compatibilities.php',
40 $themeisle_library_path . '/src/Modules/About_us.php',
41 $themeisle_library_path . '/src/Modules/Announcements.php',
42 $themeisle_library_path . '/src/Modules/Featured_plugins.php',
43 $themeisle_library_path . '/src/Modules/Float_widget.php',
44 $themeisle_library_path . '/src/Modules/Abstract_Migration.php',
45 $themeisle_library_path . '/src/Modules/Migrator.php',
46 ];
47
48 $files_to_load = array_merge( $files_to_load, apply_filters( 'themeisle_sdk_required_files', [] ) );
49
50 foreach ( $files_to_load as $file ) {
51 if ( is_file( $file ) ) {
52 require_once $file;
53 }
54 }
55 Loader::init();
56
57 foreach ( $products as $product ) {
58 Loader::add_product( $product );
59 }
60