aelia-currencyswitcher.cls.php
7 months ago
amp.cls.php
7 months ago
autoptimize.cls.php
7 months ago
avada.cls.php
7 months ago
bbpress.cls.php
7 months ago
beaver-builder.cls.php
7 months ago
caldera-forms.cls.php
7 months ago
divi-theme-builder.cls.php
7 months ago
elementor.cls.php
7 months ago
entry.inc.php
7 months ago
facetwp.cls.php
7 months ago
gravity-forms.cls.php
7 months ago
litespeed-check.cls.php
7 months ago
nextgengallery.cls.php
7 months ago
perfmatters.cls.php
7 months ago
theme-my-login.cls.php
7 months ago
user-switching.cls.php
7 months ago
wc-pdf-product-vouchers.cls.php
7 months ago
wcml.cls.php
7 months ago
woo-paypal.cls.php
7 months ago
woocommerce.cls.php
7 months ago
woocommerce.content.tpl.php
7 months ago
woocommerce.tab.tpl.php
7 months ago
wp-polls.cls.php
7 months ago
wp-postratings.cls.php
7 months ago
wpdiscuz.cls.php
7 months ago
wplister.cls.php
7 months ago
wpml.cls.php
7 months ago
wptouch.cls.php
7 months ago
yith-wishlist.cls.php
7 months ago
entry.inc.php
54 lines
| 1 | <?php |
| 2 | // phpcs:ignoreFile |
| 3 | /** |
| 4 | * The registry for Third Party Plugins Integration files. |
| 5 | * |
| 6 | * This file is only used to include the integration files/classes. |
| 7 | * This works as an entry point for the initial add_action for the |
| 8 | * detect function. |
| 9 | * |
| 10 | * It is not required to add all integration files here, this just provides |
| 11 | * a common place for plugin authors to append their file to. |
| 12 | */ |
| 13 | defined('WPINC') || exit(); |
| 14 | |
| 15 | use LiteSpeed\API; |
| 16 | |
| 17 | $third_cls = array( |
| 18 | 'Aelia_CurrencySwitcher', |
| 19 | 'Autoptimize', |
| 20 | 'Avada', |
| 21 | 'BBPress', |
| 22 | 'Beaver_Builder', |
| 23 | 'Caldera_Forms', |
| 24 | 'Divi_Theme_Builder', |
| 25 | 'Facetwp', |
| 26 | 'LiteSpeed_Check', |
| 27 | 'Theme_My_Login', |
| 28 | 'User_Switching', |
| 29 | 'WCML', |
| 30 | 'WooCommerce', |
| 31 | 'WC_PDF_Product_Vouchers', |
| 32 | 'Woo_Paypal', |
| 33 | 'Wp_Polls', |
| 34 | 'WP_PostRatings', |
| 35 | 'Wpdiscuz', |
| 36 | 'WPLister', |
| 37 | 'WPML', |
| 38 | 'WpTouch', |
| 39 | 'Yith_Wishlist', |
| 40 | ); |
| 41 | |
| 42 | foreach ($third_cls as $cls) { |
| 43 | add_action('litespeed_load_thirdparty', 'LiteSpeed\Thirdparty\\' . $cls . '::detect'); |
| 44 | } |
| 45 | |
| 46 | // Preload needed for certain thirdparty |
| 47 | add_action('litespeed_init', 'LiteSpeed\Thirdparty\Divi_Theme_Builder::preload'); |
| 48 | add_action('litespeed_init', 'LiteSpeed\Thirdparty\WooCommerce::preload'); |
| 49 | add_action('litespeed_init', 'LiteSpeed\Thirdparty\NextGenGallery::preload'); |
| 50 | add_action('litespeed_init', 'LiteSpeed\Thirdparty\AMP::preload'); |
| 51 | add_action('litespeed_init', 'LiteSpeed\Thirdparty\Elementor::preload'); |
| 52 | add_action('litespeed_init', 'LiteSpeed\Thirdparty\Gravity_Forms::preload'); |
| 53 | add_action('litespeed_init', 'LiteSpeed\Thirdparty\Perfmatters::preload'); |
| 54 |