/
home
/
techb158
/
balacoffee.com
/
wp-content
/
themes
/
Divi-1
/
includes
/
builder
/
plugin-compat
/
/home/techb158/balacoffee.com/wp-content/themes/Divi-1/includes/builder/plugin-compat
mkdir
upload
Name
Size
Mode
Actions
scripts/
-
0755
rm
styles/
-
0755
rm
advanced-custom-fields-pro.php
168
0644
edit
dl
rm
advanced-custom-fields.php
9369
0644
edit
dl
rm
amazon-s3-and-cloudfront-pro.php
1035
0644
edit
dl
rm
amazon-s3-and-cloudfront.php
3193
0644
edit
dl
rm
autoptimize.php
1133
0644
edit
dl
rm
caldera-forms.php
1265
0644
edit
dl
rm
cartflows.php
1922
0644
edit
dl
rm
cdn-enabler.php
1472
0644
edit
dl
rm
coursepress.php
1094
0644
edit
dl
rm
divi-filterable-blog-module.php
1061
0644
edit
dl
rm
divi-module-code-snippet.php
1588
0644
edit
dl
rm
divi-testimonial-slider.php
1303
0644
edit
dl
rm
divi_layout_injector.php
3093
0644
edit
dl
rm
divi_woo_layout_injector.php
1402
0644
edit
dl
rm
dk-pdf.php
1941
0644
edit
dl
rm
ds-divi-rocket.php
1081
0644
edit
dl
rm
easy-digital-downloads.php
4522
0644
edit
dl
rm
eventon.php
3269
0644
edit
dl
rm
events-manager.php
1562
0644
edit
dl
rm
final-tiles-grid-gallery-lite.php
1462
0644
edit
dl
rm
gravityforms.php
732
0644
edit
dl
rm
gravityformssignature.php
1707
0644
edit
dl
rm
ht-knowledge-base.php
1680
0644
edit
dl
rm
imagify.php
3212
0644
edit
dl
rm
insert-pages.php
1450
0644
edit
dl
rm
jucra-acf-google-maps-for-divi.php
1296
0644
edit
dl
rm
kvcore-idx.php
915
0644
edit
dl
rm
landing-pages.php
1017
0644
edit
dl
rm
m-chart.php
1310
0644
edit
dl
rm
mappress-google-maps-for-wordpress.php
1744
0644
edit
dl
rm
megamenu.php
1640
0644
edit
dl
rm
modern-events-calendar-lite.php
1186
0644
edit
dl
rm
nex-forms-express-wp-form-builder.php
1350
0644
edit
dl
rm
paid-memberships-pro.php
1388
0644
edit
dl
rm
photo-gallery.php
1404
0644
edit
dl
rm
pilotpress.php
1581
0644
edit
dl
rm
popup-maker.php
5544
0644
edit
dl
rm
relevanssi-premium.php
247
0644
edit
dl
rm
relevanssi.php
1895
0644
edit
dl
rm
sellsy.php
1087
0644
edit
dl
rm
seo-by-rank-math.php
5972
0644
edit
dl
rm
sfwd-lms.php
4616
0644
edit
dl
rm
sg-cachepress.php
2668
0644
edit
dl
rm
siteorigin-panels.php
1466
0644
edit
dl
rm
sitepress-multilingual-cms.php
9747
0644
edit
dl
rm
table-of-contents-plus.php
1044
0644
edit
dl
rm
the-events-calendar-community-events.php
1352
0644
edit
dl
rm
the-events-calendar.php
7548
0644
edit
dl
rm
toolbar-publish-button.php
1039
0644
edit
dl
rm
woo-paypalplus.php
1348
0644
edit
dl
rm
woocommerce.php
11120
0644
edit
dl
rm
wordpress-mu-domain-mapping.php
1571
0644
edit
dl
rm
wordpress-seo.php
2549
0644
edit
dl
rm
wp-job-manager.php
1930
0644
edit
dl
rm
wp-responsive-table.php
1218
0644
edit
dl
rm
wp-rocket.php
1375
0644
edit
dl
rm
wp-smush-pro.php
156
0644
edit
dl
rm
wp-smushit.php
5050
0644
edit
dl
rm
wp-views.php
3298
0644
edit
dl
rm
wp3d-models.php
1106
0644
edit
dl
rm
wpml-sticky-links.php
1432
0644
edit
dl
rm
yith-woocommerce-dynamic-pricing-and-discounts-premium.php
2102
0644
edit
dl
rm
Edit:
/home/techb158/balacoffee.com/wp-content/themes/Divi-1/includes/builder/plugin-compat/wp-rocket.php
(1375B)
<?php // phpcs:ignore WordPress.Files.FileName -- We don't follow WP filename format. if ( ! defined( 'ABSPATH' ) ) { // Exit if accessed directly. exit; } /** * ET_Builder_Plugin_Compat_WP_Rocket class file. * * @class ET_Builder_Plugin_Compat_WP_Rocket * @package Divi * @subpackage Builder * @since 4.14.5 * @link https://wp-rocket.me/ */ class ET_Builder_Plugin_Compat_WP_Rocket extends ET_Builder_Plugin_Compat_Base { /** * Constructor. * * @since 4.14.5 */ public function __construct() { $this->plugin_id = 'wp-rocket/wp-rocket.php'; $this->init_hooks(); } /** * Hook methods to WordPress. * * @since 4.14.5 * * @return void */ public function init_hooks() { // Bail if there's no version found. if ( ! $this->get_plugin_version() ) { return; } add_filter( 'rocket_rucss_safelist', array( $this, 'et_rocket_css_safelist' ), 10, 1 ); } /** * CSS safelist to exclude from WP Rocket's 'Unused CSS' option. * The array may contain CSS filenames, IDs or classes. * * @since 4.14.5 * * @param array[] $css_safelist list of CSS filenames, IDs or classes. * * @return array[] */ public function et_rocket_css_safelist( $css_safelist ) { $et_css_safelist = array( '.et_pb_blog_grid', ); return array_merge( $css_safelist, $et_css_safelist ); } } new ET_Builder_Plugin_Compat_WP_Rocket();
Save
cmd:
run