Edit File by line
/home/zeestwma/richards.../wp-conte.../plugins/litespee.../thirdpar...
File: entry.inc.php
<?php
[0] Fix | Delete
/**
[1] Fix | Delete
* The registry for Third Party Plugins Integration files.
[2] Fix | Delete
*
[3] Fix | Delete
* This file is only used to include the integration files/classes.
[4] Fix | Delete
* This works as an entry point for the initial add_action for the
[5] Fix | Delete
* detect function.
[6] Fix | Delete
*
[7] Fix | Delete
* It is not required to add all integration files here, this just provides
[8] Fix | Delete
* a common place for plugin authors to append their file to.
[9] Fix | Delete
*
[10] Fix | Delete
* @package LiteSpeed
[11] Fix | Delete
* @subpackage LiteSpeed_Cache/thirdparty
[12] Fix | Delete
*/
[13] Fix | Delete
[14] Fix | Delete
defined('WPINC') || exit();
[15] Fix | Delete
[16] Fix | Delete
$third_cls = array(
[17] Fix | Delete
'Aelia_CurrencySwitcher',
[18] Fix | Delete
'Autoptimize',
[19] Fix | Delete
'Avada',
[20] Fix | Delete
'BBPress',
[21] Fix | Delete
'Beaver_Builder',
[22] Fix | Delete
'Caldera_Forms',
[23] Fix | Delete
'Divi_Theme_Builder',
[24] Fix | Delete
'Facetwp',
[25] Fix | Delete
'LiteSpeed_Check',
[26] Fix | Delete
'Theme_My_Login',
[27] Fix | Delete
'User_Switching',
[28] Fix | Delete
'WCML',
[29] Fix | Delete
'WooCommerce',
[30] Fix | Delete
'WC_PDF_Product_Vouchers',
[31] Fix | Delete
'Woo_Paypal',
[32] Fix | Delete
'Wp_Polls',
[33] Fix | Delete
'WP_PostRatings',
[34] Fix | Delete
'Wpdiscuz',
[35] Fix | Delete
'WPLister',
[36] Fix | Delete
'WPML',
[37] Fix | Delete
'WpTouch',
[38] Fix | Delete
'Yith_Wishlist',
[39] Fix | Delete
);
[40] Fix | Delete
[41] Fix | Delete
foreach ($third_cls as $cls) {
[42] Fix | Delete
add_action('litespeed_load_thirdparty', 'LiteSpeed\Thirdparty\\' . $cls . '::detect');
[43] Fix | Delete
}
[44] Fix | Delete
[45] Fix | Delete
// Preload needed for certain thirdparty
[46] Fix | Delete
add_action('litespeed_init', 'LiteSpeed\Thirdparty\Divi_Theme_Builder::preload');
[47] Fix | Delete
add_action('litespeed_init', 'LiteSpeed\Thirdparty\WooCommerce::preload');
[48] Fix | Delete
add_action('litespeed_init', 'LiteSpeed\Thirdparty\NextGenGallery::preload');
[49] Fix | Delete
add_action('litespeed_init', 'LiteSpeed\Thirdparty\AMP::preload');
[50] Fix | Delete
add_action('litespeed_init', 'LiteSpeed\Thirdparty\Elementor::preload');
[51] Fix | Delete
add_action('litespeed_init', 'LiteSpeed\Thirdparty\Gravity_Forms::preload');
[52] Fix | Delete
add_action('litespeed_init', 'LiteSpeed\Thirdparty\Perfmatters::preload');
[53] Fix | Delete
[54] Fix | Delete
It is recommended that you Edit text format, this type of Fix handles quite a lot in one request
Function