'condition' => 'wpforms/wpforms.php', 'name' => 'wpforms', 'scripts' => [ '/wpforms-offline-forms/assets/js/wpforms-offline-forms.min.js', 'wpforms-offline-forms-js-extra', 'wpformsRecaptchaLoad', ], ], 'two_645cf48d458a4_5dff5fa3a8414b0ad8b81ec5bbe68291' => [ 'title' => 'WPForms Lite', 'type' => 'plugin', 'condition' => 'wpforms-lite/wpforms.php', 'name' => 'wpforms-lite', 'scripts' => [ 'wpformsRecaptchaLoad', '/wpforms-offline-forms/assets/js/wpforms-offline-forms.min.js', 'wpforms-offline-forms-js-extra', ], ], 'two_645cf48d458a5_3407dcdc7517fdccc9c4fc8895af860e' => [ 'title' => 'XL WooCommerce Sales Triggers', 'condition' => 'xl-woocommerce-sales-triggers/xl-woocommerce-sales-triggers.php', 'type' => 'plugin', 'name' => 'xl-woocommerce-sales-triggers', 'scripts' => [ '/xl-woocommerce-sales-triggers/assets/js/wcst_combined.min.js', '/jquery-?[0-9.](.*)(.min|.slim|.slim.min)?.js', '/jquery-migrate(.min)?.js', ], ], 'two_645cf48d458a6_e5246c8a216af2ad1a956b3cb7b4a3f3' => [ 'title' => 'YITH WooCommerce Ajax Product Filter', 'type' => 'plugin', 'condition' => 'yith-woocommerce-ajax-navigation/init.php', 'name' => 'yith-woocommerce-ajax-navigation', 'scripts' => [ '/jquery-?[0-9.](.*)(.min|.slim|.slim.min)?.js', '/jquery-migrate(.min)?.js', '/yith-woocommerce-ajax-navigation/assets/js/yith-wcan-shortcodes.min.js', ], ], 'two_645cf48d458a7_0292d85acc16e73127344845224b8e02' => [ 'title' => 'YITH WooCommerce AJAX Product Filter Premium', 'type' => 'plugin', 'condition' => 'yith-woocommerce-ajax-product-filter-premium/init.php', 'name' => 'yith-woocommerce-ajax-product-filter-premium', 'scripts' => [ '/jquery-?[0-9.](.*)(.min|.slim|.slim.min)?.js', '/jquery-migrate(.min)?.js', '/yith-woocommerce-ajax-product-filter-premium/assets/js/yith-wcan-shortcodes.min.js', ], ], 'two_645cf48d458a8_a111a3ee5e75b4dcd69b155b49bef93e' => [ 'title' => 'Yotpo Social Reviews for Woocommerce', 'condition' => 'yotpo-social-reviews-for-woocommerce/wc_yotpo.php', 'type' => 'plugin', 'name' => 'yotpo-social-reviews-for-woocommerce', 'scripts' => [ '/yotpo-social-reviews-for-woocommerce/assets/js/headerScript.js', ], ], ], 'themes' => [ 'two_645cf52ebfc5c_acbd78e51f286f2db143304fc092ce21' => [ 'title' => 'Andaman', 'type' => 'theme', 'condition' => 'andaman', 'scripts' => [ '/jquery-?[0-9.](.*)(.min|.slim|.slim.min)?.js', '/jquery-migrate(.min)?.js', '/andaman/assets/js/', '/wp-andaman-plugins/shortcodes/vc_extend/', ], ], 'two_645cf52ebfc6f_878d780344ee270a206eb5decde77dd8' => [ 'title' => 'Artale', 'type' => 'theme', 'condition' => 'artale', 'scripts' => [ '/artale-elementor/assets/js/modulobox.js', '/artale-elementor/assets/js/artale-elementor.js', '/artale/js/jquery-stellar.js', '/artale/js/core/artale-plugins.js', '/artale/js/core/artale-custom.js', 'var loader', ], ], 'two_645cf52ebfc72_9dbb40d076c4df840899d7f16de0f206' => [ 'title' => 'Astra', 'condition' => 'astra', 'type' => 'theme', 'scripts' => [ '/astra/assets/js/minified/frontend.min.js', ], ], 'two_645cf52ebfc73_4fb1219e596ab09acda232fa6d188f4d' => [ 'title' => 'Astra - Carousel', 'type' => 'theme', 'condition' => 'astra', 'scripts' => [ 'var astra', '/astra/assets/js/minified/style.min.js', ], ], 'two_645cf52ebfc75_b99f0c7b1af5bc0b2cd584985a9ce063' => [ 'title' => 'Auteur', 'condition' => 'g5plus-auteur', 'type' => 'theme', 'scripts' => [ '/jquery-?[0-9.](.*)(.min|.slim|.slim.min)?.js', '/jquery-migrate(.min)?.js', '/g5plus-auteur/assets/js/core.min.js', '/g5plus-auteur/assets/vendors/', '/auteur-framework/libs/smart-framework/assets/vendors/perfect-scrollbar/js/perfect-scrollbar.jquery.min.js', '/wp-includes/js/imagesloaded.min.js', ], ], 'two_645cf52ebfc76_91a9659f8af296d8c8bbf929eb8dab86' => [ 'title' => 'AutoTrader', 'condition' => 'autotrader', 'type' => 'theme', 'scripts' => [ '/jquery-?[0-9.](.*)(.min|.slim|.slim.min)?.js', '/jquery-migrate(.min)?.js', '/autotrader/(.*).js', ], ], 'two_645cf52ebfc78_9792e4242d5bc05aab874b54c677407b' => [ 'title' => 'Avada - Animations & mobile-specific actions', 'type' => 'theme', 'condition' => 'Avada', 'scripts' => [ '/jquery-?[0-9.](.*)(.min|.slim|.slim.min)?.js', '/jquery-migrate(.min)?.js', '/uploads/fusion-scripts/(.*).js', 'window.off_canvas_', '/plugins/fusion-builder/', '/plugins/fusion-core/', '/Avada/includes/', ], ], 'two_645cf52ebfc79_00067b261d9353ab4ef054dcc36adbe0' => [ 'title' => 'Avada - FAQ shortcode', 'condition' => 'Avada', 'type' => 'theme', 'scripts' => [ '/jquery-?[0-9.](.*)(.min|.slim|.slim.min)?.js', '/jquery-migrate(.min)?.js', '/plugins/fusion-core/js/min/avada-faqs.js', ], ], 'two_645cf52ebfc7a_f5ce7fefe7a07fe1a55352f21f572b48' => [ 'title' => 'Avada - Fusion carousel', 'type' => 'theme', 'condition' => 'Avada', 'scripts' => [ '/jquery-?[0-9.](.*)(.min|.slim|.slim.min)?.js', '/jquery-migrate(.min)?.js', '/includes/lib/assets/min/js/library/jquery.carouFredSel.js', '/includes/lib/assets/min/js/general/fusion-carousel.js', 'fusionCarouselVars', ], ], 'two_645cf52ebfc7c_2c8ae978f9f48a5fe31fe72b3021edde' => [ 'title' => 'Avada - Fusion form', 'type' => 'theme', 'condition' => 'Avada', 'scripts' => [ '/jquery-?[0-9.](.*)(.min|.slim|.slim.min)?.js', '/jquery-migrate(.min)?.js', '/fusion-builder/assets/js/min/general/fusion-form.js', '/fusion-builder/assets/js/min/general/fusion-form-logics.js', '/includes/lib/assets/min/js/library/cssua.js', '/includes/lib/assets/min/js/general/fusion.js', '/includes/lib/assets/min/js/library/modernizr.js', ], ], 'two_645cf52ebfc7d_91980282d90630c5e67507929b2ddc73' => [ 'title' => 'Avada - Fusion grid gallery', 'type' => 'theme', 'condition' => 'Avada', 'scripts' => [ '/jquery-?[0-9.](.*)(.min|.slim|.slim.min)?.js', '/jquery-migrate(.min)?.js', '/fusion-builder/assets/js/min/general/fusion-gallery.js', '/includes/lib/assets/min/js/library/imagesLoaded.js', '/includes/lib/assets/min/js/library/isotope.js', '/includes/lib/assets/min/js/library/packery.js', '/includes/lib/assets/min/js/library/lazysizes.js', ], ], 'two_645cf52ebfc7e_80a87456bd48c6020155d9cf12d17a80' => [ 'title' => 'Avada - Fusion slider', 'type' => 'theme', 'condition' => 'Avada', 'scripts' => [ '/jquery-?[0-9.](.*)(.min|.slim|.slim.min)?.js', '/jquery-migrate(.min)?.js', '/fusion-core/js/min/avada-fusion-slider.js', '/Avada/includes/', ], ], 'two_645cf52ebfc7f_437dc3e4ca4d993bfdc4dcf150372ed1' => [ 'title' => 'Avada - Mobile menu', 'type' => 'theme', 'condition' => 'Avada', 'scripts' => [ '/jquery-?[0-9.](.*)(.min|.slim|.slim.min)?.js', '/jquery-migrate(.min)?.js', '/assets/min/js/general/avada-menu.js', '/includes/lib/assets/min/js/library/modernizr.js', '/includes/lib/assets/min/js/library/jquery.easing.js', ], ], 'two_645cf52ebfc82_fae8bcaf68bcd72f65678a2aeb3900cf' => [ 'title' => 'Avada - OffCanvas', 'type' => 'theme', 'condition' => 'Avada', 'scripts' => [ '/jquery-?[0-9.](.*)(.min|.slim|.slim.min)?.js', '/jquery-migrate(.min)?.js', '/uploads/fusion-scripts/(.*).min.js', 'window.off_canvas_', ], ], 'two_645cf52ebfc83_abe9205a4476e34eabab9ccc18a53be2' => [ 'title' => 'Avada - portfolio', 'type' => 'theme', 'condition' => 'Avada', 'scripts' => [ '/jquery-?[0-9.](.*)(.min|.slim|.slim.min)?.js', '/jquery-migrate(.min)?.js', '/library/packery.js', '/library/isotope.js', '/library/imagesLoaded.js', '/general/fusion-lightbox.js', '/fusion-core/js/min/avada-portfolio.js', ], ], 'two_645cf52ebfc84_332c9d1e787fbcf7f3dd3128f7be0413' => [ 'title' => 'Avada - Portfolio', 'type' => 'theme', 'condition' => 'Avada', 'scripts' => [ '/jquery-?[0-9.](.*)(.min|.slim|.slim.min)?.js', '/jquery-migrate(.min)?.js', '/includes/lib/assets/min/js/library/imagesLoaded.js', '/includes/lib/assets/min/js/library/isotope.js', '/includes/lib/assets/min/js/library/lazysizes.js', '/includes/lib/assets/min/js/library/modernizr.js', '/includes/lib/assets/min/js/library/packery.js', '/fusion-core/js/min/avada-portfolio.js', 'avadaPortfolioVars', ], ], 'two_645cf52ebfc85_064ad937ff031aabca2ad4624fa013db' => [ 'title' => 'Avada - Sticky menu', 'type' => 'theme', 'condition' => 'Avada', 'scripts' => [ '/jquery-?[0-9.](.*)(.min|.slim|.slim.min)?.js', '/jquery-migrate(.min)?.js', '/Avada/assets/min/js/general/avada-menu.js', ], ], 'two_645cf52ebfc87_e15a94c53b754deae40fa3527edb7793' => [ 'title' => 'Avada - WooCommerce product gallery', 'type' => 'theme', 'condition' => 'Avada', 'scripts' => [ '/jquery-?[0-9.](.*)(.min|.slim|.slim.min)?.js', '/jquery-migrate(.min)?.js', '/assets/min/js/general/avada-woo-product-images.js', '/includes/lib/assets/min/js/library/jquery.flexslider.js', ], ], 'two_645cf52ebfc88_bf12a203eec292929ab47cf3fe0472b8' => [ 'title' => 'Avesa', 'condition' => 'avesa', 'type' => 'theme', 'scripts' => [ '/jquery-?[0-9.](.*)(.min|.slim|.slim.min)?.js', '/jquery-migrate(.min)?.js', '/avesa/js/main.js', '/avesa/js/isotope.js', '/sw_core/js/slick.min.js', '/avesa/js/bootstrap-datetimepicker.min.js', '/avesa/js/bootstrap.min.js', ], ], 'two_645cf52ebfc89_277533231864691cc03b3f8c71ca5b6c' => [ 'title' => 'Besa', 'condition' => 'besa', 'type' => 'theme', 'scripts' => [ '/jquery-?[0-9.](.*)(.min|.slim|.slim.min)?.js', '/besa/js/', ], ], 'two_645cf52ebfc8b_febf425533cbb2ef3cc17c057d2df7ae' => [ 'title' => 'BeTheme', 'condition' => 'betheme', 'type' => 'theme', 'scripts' => [ '/jquery-?[0-9.](.*)(.min|.slim|.slim.min)?.js', '/betheme/', 'mfn', '/wp-includes/js/jquery/ui/tabs.min.js', '/wp-includes/js/jquery/ui/core.min.js', ], ], 'two_645cf52ebfc8c_98ac6b4b086b5a2f47677b15e786d9ba' => [ 'title' => 'Bridge', 'type' => 'theme', 'condition' => 'bridge', 'scripts' => [ '/jquery-?[0-9.](.*)(.min|.slim|.slim.min)?.js', '/bridge-creative/bridge/js/', '/wp-includes/js/', ], ], 'two_645cf52ebfc8d_6cd078a154fcbe52095c4ecf2ee4e932' => [ 'title' => 'Car Dealer', 'condition' => 'cardealer', 'type' => 'theme', 'scripts' => [ '/jquery-?[0-9.](.*)(.min|.slim|.slim.min)?.js', '/jquery-migrate(.min)?.js', '/wp-includes/js/jquery/(.*)', '/cardealer/js/(.*)', ], ], 'two_645cf52ebfc8e_fed04e8acd998c16a32a8613c0ef1582' => [ 'title' => 'Clover', 'condition' => 'clover-theme', 'type' => 'theme', 'scripts' => [ '/jquery-?[0-9.](.*)(.min|.slim|.slim.min)?.js', '/jquery-migrate(.min)?.js', '/clover-theme/', ], ], 'two_645cf52ebfc90_54159e1dbd22773e60b534a3fcd7cb7c' => [ 'title' => 'Divi - Animations', 'condition' => 'Divi', 'type' => 'theme', 'scripts' => [ '/jquery-?[0-9.](.*)(.min|.slim|.slim.min)?.js', '/jquery-migrate(.min)?.js', '.dipi_preloader_wrapper_outer', '/Divi/js/scripts.min.js', '/Divi/js/custom.unified.js', '/js/magnific-popup.js', 'var DIVI', ], ], 'two_645cf52ebfc91_c53e64472f6a40edef0ce7203d17629a' => [ 'title' => 'Divi - Background video', 'condition' => 'Divi', 'type' => 'theme', 'scripts' => [ '/jquery-?[0-9.](.*)(.min|.slim|.slim.min)?.js', '/jquery-migrate.min.js', '/Divi/js/custom.unified.js', '/js/mediaelement/(.*)', 'mejs', ], ], 'two_645cf52ebfc92_b17f68fb4c849f50e100300fe0a37c98' => [ 'title' => 'Divi - Counter module', 'condition' => 'Divi', 'type' => 'theme', 'scripts' => [ '/jquery-?[0-9.](.*)(.min|.slim|.slim.min)?.js', '/jquery-migrate(.min)?.js', '.dipi_preloader_wrapper_outer', '/Divi/js/scripts.min.js', '/Divi/js/custom.unified.js', '/js/magnific-popup.js', 'var DIVI', '/Divi/includes/builder/feature/dynamic-assets/assets/js/easypiechart.js', ], ], 'two_645cf52ebfc93_a36f062b0fcc740077cccf5a11c7ffea' => [ 'title' => 'Divi - Mobile menu', 'condition' => 'Divi', 'type' => 'theme', 'scripts' => [ '/jquery-?[0-9.](.*)(.min|.slim|.slim.min)?.js', '/jquery-migrate.min.js', '/Divi/js/scripts.min.js', '/Divi/js/custom.unified.js', ], ], 'two_645cf52ebfc94_0fe2a223c302535effbf88ee4af90189' => [ 'title' => 'Divi - Sticky elements', 'condition' => 'Divi', 'type' => 'theme', 'scripts' => [ '/jquery-?[0-9.](.*)(.min|.slim|.slim.min)?.js', '/jquery-migrate(.min)?.js', '.dipi_preloader_wrapper_outer', '/Divi/js/scripts.min.js', '/Divi/includes/builder/feature/dynamic-assets/assets/js/sticky-elements.js', 'var DIVI', ], ], 'two_645cf52ebfc95_3e198404cbfd8bf951af8104c57e5d7f' => [ 'title' => 'Divi - Sticky menu', 'condition' => 'Divi', 'type' => 'theme', 'scripts' => [ '/jquery-?[0-9.](.*)(.min|.slim|.slim.min)?.js', '/js/jquery/jquery-migrate.min.js', '/Divi/js/scripts.min.js', '/Divi/includes/builder/feature/dynamic-assets/assets/js/magnific-popup.js', 'jqueryParams', 'firstHeader', ], ], 'two_645cf52ebfc96_5b2e6874427df91f36e2d9336b70b05a' => [ 'title' => 'Eikra', 'condition' => 'eikra', 'type' => 'theme', 'scripts' => [ '/jquery-?[0-9.](.*)(.min|.slim|.slim.min)?.js', '/jquery-migrate.min.js', '/eikra/assets/js/', 'EikraObj', ], ], 'two_645cf52ebfc98_6a1132eb50b971d62f8425b2c9a9b5ae' => [ 'title' => 'Ekko', 'condition' => 'ekko', 'type' => 'theme', 'scripts' => [ '/jquery-?[0-9.](.*)(.min|.slim|.slim.min)?.js', '/jquery-migrate(.min)?.js', '/ekko/', ], ], 'two_645cf52ebfc99_2776e430c5a377633ffccd146522e60a' => [ 'title' => 'Elessi', 'condition' => 'elessi-theme', 'type' => 'theme', 'scripts' => [ '/jquery-?[0-9.](.*)(.min|.slim|.slim.min)?.js', '/jquery-migrate(.min)?.js', '/elessi-theme/assets/js/min/functions.min.js', '/elessi-theme/assets/js/min/main.min.js', ], ], 'two_645cf52ebfc9a_3d7957ec79e6c8fa20c4dfd7e568da12' => [ 'title' => 'Enfold', 'type' => 'theme', 'condition' => 'enfold', 'scripts' => [ '/jquery-?[0-9.](.*)(.min|.slim|.slim.min)?.js', '/jquery-migrate(.min)?.js', '/dynamic_avia/avia-footer-scripts-(.*).js', 'var avia_is_mobile', ], ], 'two_645cf52ebfc9b_f19249d1a084beca3705548471248455' => [ 'title' => 'Enfold - LayerSlider', 'type' => 'theme', 'condition' => 'enfold', 'scripts' => [ '/jquery-?[0-9.](.*)(.min|.slim|.slim.min)?.js', '/jquery-migrate(.min)?.js', 'layerslider', ], ], 'two_645cf52ebfc9d_9e7ffe85b1afc5b5c78fc887cef28dee' => [ 'title' => 'Enfold - Shortcodes', 'condition' => 'enfold', 'type' => 'theme', 'scripts' => [ '/jquery-?[0-9.](.*)(.min|.slim|.slim.min)?.js', '/jquery-migrate(.min)?.js', '/enfold/js/avia.js', '/enfold/js/shortcodes.js', '/enfold/config-templatebuilder/avia-shortcodes/', '/enfold/js/avia-compat.js', ], ], 'two_645cf52ebfc9e_35518ba8fcfe775d82860770fafd922f' => [ 'title' => 'Envision', 'condition' => 'envision', 'type' => 'theme', 'scripts' => [ '/jquery-?[0-9.](.*)(.min|.slim|.slim.min)?.js', '/jquery-migrate(.min)?.js', '/envision/lib/js/app.min.js', 'var CloudFwOp', ], ], 'two_645cf52ebfc9f_3b24786e367d0dff22c7fe1fe10ed87c' => [ 'title' => 'Ewebot', 'type' => 'theme', 'condition' => 'ewebot', 'scripts' => [ '/jquery-?[0-9.](.*)(.min|.slim|.slim.min)?.js', '/jquery-migrate(.min)?.js', '/gt3-themes-core/', '/uploads/gt3-assets/js/(.*)', '/wp-includes/js/imagesloaded.min.js', ], ], 'two_645cf52ebfca0_eeb04c1088165ac52e94cda1c7ca4705' => [ 'title' => 'Farvis', 'condition' => 'farvis', 'type' => 'theme', 'scripts' => [ '/jquery-?[0-9.](.*)(.min|.slim|.slim.min)?.js', '/jquery-migrate(.min)?.js', '/farvis/', ], ], 'two_645cf52ebfca1_f9f4ca9cb1bbd03a472d7ed709302076' => [ 'title' => 'Flatsome', 'condition' => 'flatsome', 'type' => 'theme', 'scripts' => [ '/jquery-?[0-9.](.*)(.min|.slim|.slim.min)?.js', '/jquery-migrate(.min)?.js', '/flatsome/assets/js/flatsome.js', '/flatsome/assets/libs/packery.pkgd.min.js', '/flatsome/assets/js/woocommerce.js', ], ], 'two_645cf52ebfca2_27f69bc6d6882ba0ca8f09faa9a860b2' => [ 'title' => 'Flatsome - Google map', 'type' => 'theme', 'condition' => 'flatsome', 'scripts' => [ '/jquery-?[0-9.](.*)(.min|.slim|.slim.min)?.js', '/jquery-migrate(.min)?.js', 'maps.googleapis.com', 'google.maps.LatLng', '/wp-includes/js/hoverIntent.min.js', ], ], 'two_645cf52ebfca3_9b5e9a400080f0245e05334185b5c6e1' => [ 'title' => 'Flatsome - Images', 'condition' => 'flatsome', 'type' => 'theme', 'scripts' => [ '/jquery-?[0-9.](.*)(.min|.slim|.slim.min)?.js', '/jquery-migrate(.min)?.js', '/flatsome/inc/integrations/wp-rocket/flatsome-wp-rocket.js', '/flatsome/assets/js/flatsome.js', '/flatsome/inc/extensions/flatsome-lazy-load/flatsome-lazy-load.js', ], ], 'two_645cf52ebfca4_f60834ce35581c434a68022f2e84f796' => [ 'title' => 'Frida', 'condition' => 'frida', 'type' => 'theme', 'scripts' => [ '/wp-includes/js/jquery/jquery.min.js', '/wp-includes/js/jquery/jquery-migrate.min.js', '/frida/', ], ], 'two_645cf52ebfca5_711058531cd7077da2c647d253e34d02' => [ 'title' => 'GeneratePress - Mobile menu', 'type' => 'theme', 'condition' => 'generatepress', 'scripts' => [ '/generatepress/assets/js/menu.min.js', 'generatepressMenu', '/gp-premium/menu-plus/functions/js/offside.min.js', ], ], 'two_645cf52ebfca7_b2f39f17253fa5e90a05d637249c53e1' => [ 'title' => 'Honor - WPBakery fix', 'condition' => 'honor', 'type' => 'theme', 'scripts' => [ '/honor/js/__scripts.js', 'HONOR_STORAGE', '/js_composer/', ], ], 'two_645cf52ebfca8_6259970b6e6c26246527cc968002e3be' => [ 'title' => 'HotelMaster', 'condition' => 'hotelmaster', 'type' => 'theme', 'scripts' => [ '/wp-includes/js/jquery/jquery.min.js', '/wp-includes/js/jquery/jquery-migrate.min.js', '/hotelmaster/javascript/gdlr-script.js', '/hotelmaster/plugins/dl-menu/modernizr.custom.js', '/hotelmaster/plugins/dl-menu/jquery.dlmenu.js', '/hotelmaster/plugins/superfish/js/superfish.js', '/hotelmaster/plugins/jquery.easing.js', ], ], 'two_645cf52ebfca9_19c2de9a7a4a531bd8dd79c5e73c7743' => [ 'title' => 'HotelMaster - Blog', 'type' => 'theme', 'condition' => 'hotelmaster', 'scripts' => [ '/wp-includes/js/masonry.min.js', '/gp-premium/blog/functions/js/scripts.min.js', '/wp-includes/js/imagesloaded.min.js', ], ], 'two_645cf52ebfcaa_1ec6a1b62445f2d4a604f6d700f970e3' => [ 'title' => 'HotelMaster - Masonry', 'type' => 'theme', 'condition' => 'hotelmaster', 'scripts' => [ '/gp-premium/menu-plus/functions/js/offside.min.js', 'offSide', ], ], 'two_645cf52ebfcab_fd676332bcd2355bb23c518bb56e473d' => [ 'title' => 'JNews', 'condition' => 'jnews', 'type' => 'theme', 'scripts' => [ '/jquery-?[0-9.](.*)(.min|.slim|.slim.min)?.js', '/jquery-migrate.min.js', '/jnews/assets/js/', 'jnews', 'jfla', ], ], 'two_645cf52ebfcac_57857f23893dc775c9da27ac6f534801' => [ 'title' => 'JOYN', 'condition' => 'joyn', 'type' => 'theme', 'scripts' => [ '/jquery-?[0-9.](.*)(.min|.slim|.slim.min)?.js', '/jquery-migrate(.min)?.js', '/swift-framework/includes/page-builder/frontend-assets/js/lib/modernizr-custom.js', '/swift-framework/includes/page-builder/frontend-assets/js/spb-functions.min.js', '/swift-framework/includes/swift-slider/assets/js/swift-slider.min.js', '/swift-framework/public/js/lib/imagesloaded.pkgd.min.js', '/joyn/js/owl.carousel.min.js', '/joyn/js/theme-scripts.js', '/joyn/js/functions.js', ], ], 'two_645cf52ebfcad_08bff026587dbe449c0ded469da8e651' => [ 'title' => 'Juno Toys', 'condition' => 'junotoys', 'type' => 'theme', 'scripts' => [ '/jquery-?[0-9.](.*)(.min|.slim|.slim.min)?.js', '/jquery-migrate.min.js', '/junotoys/fw/js/core.init.js', '/junotoys/fw/js/core.utils.js', '/junotoys/fw/js/superfish.js', '/junotoys/fw/js/swiper/swiper.js', '/trx_utils/shortcodes/theme.shortcodes.js', '/wp-includes/js/jquery/ui/(.*)', ], ], 'two_645cf52ebfcae_27a5148ea0fbddae22d902bea9a19531' => [ 'title' => 'Jupiter', 'condition' => 'jupiter', 'type' => 'theme', 'scripts' => [ '/jquery-?[0-9.](.*)(.min|.slim|.slim.min)?.js', '/jquery-migrate(.min)?.js', '/jupiter/', '/wp-includes/js/underscore.min.js', 'WebFont.load', ], ], 'two_645cf52ebfcb0_6da4bae08687f8e53e37b19ce244c2c4' => [ 'title' => 'JupiterX', 'condition' => 'jupiterx', 'type' => 'theme', 'scripts' => [ '/jquery-?[0-9.](.*)(.min|.slim|.slim.min)?.js', '/jquery-migrate(.min)?.js', '/jupiterx/(.*).js', '/wp-includes/js/underscore.min.js', 'WebFont.load', ], ], 'two_645cf52ebfcb1_680ceb71ce1204462378982494c8ae9d' => [ 'title' => 'Kadence', 'condition' => 'kadence', 'type' => 'theme', 'scripts' => [ '/kadence/assets/js/navigation.min.js', 'mobile_menu_breakpoint ', 'kadenceConfig', ], ], 'two_645cf52ebfcb2_33d0292c5089802c372957e1bd8d98d9' => [ 'title' => 'Kalium', 'condition' => 'kalium', 'type' => 'theme', 'scripts' => [ '/jquery-?[0-9.](.*)(.min|.slim|.slim.min)?.js', '/jquery-migrate(.min)?.js', '/kalium/assets/js/main.min.js', 'mobile_menu_breakpoint', 'var _k', ], ], 'two_645cf52ebfcb3_f5b768225a3f3f7770217293d3bf7882' => [ 'title' => 'Kava', 'condition' => 'kava', 'type' => 'theme', 'scripts' => [ '/jquery-?[0-9.](.*)(.min|.slim|.slim.min)?.js', '/jquery-migrate(.min)?.js', '/kava/assets/js/theme-script.js', ], ], 'two_645cf52ebfcb4_ac0d0a292a3725daf32d58083e8e194c' => [ 'title' => 'Lay', 'condition' => 'lay', 'type' => 'theme', 'scripts' => [ '/jquery-?[0-9.](.*)(.min|.slim|.slim.min)?.js', '/wp-includes/js/backbone.min.js', '/wp-includes/js/underscore.min.js', '/lay/', '/laytheme-carousel/', 'window.laytheme', ], ], 'two_645cf52ebfcb5_55c94c288830cd8f91be711ec4f36397' => [ 'title' => 'LazaNews', 'type' => 'theme', 'condition' => 'lazanews', 'scripts' => [ '/jquery-?[0-9.](.*)(.min|.slim|.slim.min)?.js', '/jquery-migrate(.min)?.js', '/jquery.custom.js', ], ], 'two_645cf52ebfcb6_5eb487dd823b01e18c3b420abe54e094' => [ 'title' => 'Listeo', 'condition' => 'listeo', 'type' => 'theme', 'scripts' => [ '/jquery-?[0-9.](.*)(.min|.slim|.slim.min)?.js', '/jquery-migrate(.min)?.js', '/listeo/js/', ], ], 'two_645cf52ebfcb8_30006f533fc74ae2fd958fe243359a4c' => [ 'title' => 'ListingPro', 'condition' => 'listingpro', 'type' => 'theme', 'scripts' => [ '/jquery-?[0-9.](.*)(.min|.slim|.slim.min)?.js', '/jquery-migrate(.min)?.js', '/listingpro/assets/lib/jquerym.menu/js/jquery.mmenu.min.all.js', '/listingpro/assets/lib/Magnific-Popup-master/jquery.magnific-popup.min.js', '/listingpro/assets/js/select2.full.min.js', '/listingpro/assets/js/jquery.city-autocomplete.js', '/listingpro/assets/js/chosen.jquery.min.js', '/listingpro/assets/lib/bootstrap/js/bootstrap-slider.js', '/listingpro/assets/js/jquery-ui.js', '/listingpro/assets/js/mapbox.js', '/listingpro/assets/js/main.js', '/listingpro/assets/js/leaflet.markercluster.js', 'maps', ], ], 'two_645cf52ebfcb9_f0195533990fcb4c68f247f2a88d41da' => [ 'title' => 'Master Study', 'condition' => 'masterstudy', 'type' => 'theme', 'scripts' => [ '/jquery-?[0-9.](.*)(.min|.slim|.slim.min)?.js', '/jquery-migrate(.min)?.js', '/masterstudy/assets/js/custom.js ', '/masterstudy/assets/vendors/jquery.fancybox.min.js ', '/masterstudy/assets/js/select2.full.min.js', ], ], 'two_645cf52ebfcba_b2693d9c2124f3ca9547b897794ac6a1' => [ 'title' => 'Maya', 'condition' => 'maya', 'type' => 'theme', 'scripts' => [ '/jquery-?[0-9.](.*)(.min|.slim|.slim.min)?.js', '/jquery-migrate(.min)?.js', '/maya/js/jquery.mobilemenu.js', '/maya/js/jquery.custom.js', '/maya/core/includes/js/jquery.tipsy.js', ], ], 'two_645cf52ebfcbb_0609a28a3a7d610f34d9e18b3a93e64b' => [ 'title' => 'MH Magazine', 'condition' => 'mh-magazine', 'type' => 'theme', 'scripts' => [ '/jquery-?[0-9.](.*)(.min|.slim|.slim.min)?.js', '/jquery-migrate(.min)?.js', '/mh-magazine/', ], ], 'two_645cf52ebfcbc_9975f9e9820268ad96678ab5704a0cd6' => [ 'title' => 'Minimog', 'condition' => 'minimog', 'type' => 'theme', 'scripts' => [ '/jquery-?[0-9.](.*)(.min|.slim|.slim.min)?.js', '/jquery-migrate(.min)?.js', '/minimog/', ], ], 'two_645cf52ebfcbe_3202cb64798991ec49b0ad8a3ea62ba8' => [ 'title' => 'Moozo Elementor', 'condition' => 'moozo-elementor', 'type' => 'theme', 'scripts' => [ '/jquery-?[0-9.](.*)(.min|.slim|.slim.min)?.js', '/jquery-migrate(.min)?.js', '/moozo-elementor/assets/js/countdown.js', '/moozo-elementor/assets/vendor/countdown/countdown.min.js', ], ], 'two_645cf52ebfcc0_65d51e16e6cfca0bd2c9e3aa686d373c' => [ 'title' => 'My Listing', 'condition' => 'my-listing', 'type' => 'theme', 'scripts' => [ '/jquery-?[0-9.](.*)(.min|.slim|.slim.min)?.js', '/jquery-migrate(.min)?.js', '/my-listing/assets/', '/wp-includes/js/dist/vendor/moment.min.js', 'maps.googleapis.com', 'MyListing', '_Explore_Settings', ], ], 'two_645cf52ebfcc1_7a678213cf73b14959c80a19cf14283d' => [ 'title' => 'Neve - Mobile menu', 'condition' => 'neve', 'type' => 'theme', 'scripts' => [ '/neve/assets/js/build/modern/frontend.js', ], ], 'two_645cf52ebfcc2_13c402efbe0a12ce75e0fbe1fbe07402' => [ 'title' => 'Newspaper - Images', 'type' => 'theme', 'condition' => 'Newspaper', 'scripts' => [ '/jquery-?[0-9.](.*)(.min|.slim|.slim.min)?.js', '/jquery-migrate(.min)?.js', 'tagdiv_theme.min.js', 'tdBlocksArray', ], ], 'two_645cf52ebfcc3_8658f8b89a5b050ef1e914a0a1b9b47a' => [ 'title' => 'Newspaper - Slider & YouTube', 'type' => 'theme', 'condition' => 'Newspaper', 'scripts' => [ '/jquery-?[0-9.](.*)(.min|.slim|.slim.min)?.js', '/jquery-migrate(.min)?.js', 'tagdiv_theme.min.js', 'tdBlocksArray', 'tdb_globals', 'td_youtube_list_ids', 'iosSlider', '/td-cloud-library/assets/js/js_files_for_front.min.js', ], ], 'two_645cf52ebfcc4_4545e51aba6d28e35f0ac30d0d61db8f' => [ 'title' => 'Niva', 'condition' => 'niva', 'type' => 'theme', 'scripts' => [ '/jquery-?[0-9.](.*)(.min|.slim|.slim.min)?.js', '/jquery-migrate(.min)?.js', '/niva/js/', '/sweetthemes-framework/js/', 'mt_typed', ], ], 'two_645cf52ebfcc6_158994cc0cef5058d578bf05afa83c51' => [ 'title' => 'OceanWP', 'condition' => 'oceanwp', 'type' => 'theme', 'scripts' => [ '/jquery-?[0-9.](.*)(.min|.slim|.slim.min)?.js', '/jquery-migrate(.min)?.js', '/oceanwp/', ], ], 'two_645cf52ebfcc7_1f65728abd491a2d3e1c12c954a87844' => [ 'title' => 'OceanWP - Mobile menu', 'condition' => 'oceanwp', 'type' => 'theme', 'scripts' => [ '/jquery-?[0-9.](.*)(.min|.slim|.slim.min)?.js', '/jquery-migrate(.min)?.js', '/ocean-side-panel/assets/js/side-panel.min.js', '/oceanwp/assets/js/theme.vanilla.min.js', ], ], 'two_645cf52ebfcc9_1605d0346f3bfedf07891c89338cc61b' => [ 'title' => 'PenNews', 'condition' => 'pennews', 'type' => 'theme', 'scripts' => [ '/jquery-?[0-9.](.*)(.min|.slim|.slim.min)?.js ', '/jquery-migrate(.min)?.js', '/pennews/js/script.min.js', '/pennews/js/script.lib.min.js', ], ], 'two_645cf52ebfcca_267b1357db0fba4d4cf6dff9e1388167' => [ 'title' => 'Pharmacy Mentor', 'condition' => 'pharmacymentor', 'type' => 'theme', 'scripts' => [ '/jquery-?[0-9.](.*)(.min|.slim|.slim.min)?.js', '/wp-includes/js/jquery/jquery-migrate.min.js', '/pharmacymentor/', ], ], 'two_645cf52ebfccb_71d6c631e36a3432a5899bb09c51d52a' => [ 'title' => 'Porto', 'condition' => 'porto', 'type' => 'theme', 'scripts' => [ '/jquery-?[0-9.](.*)(.min|.slim|.slim.min)?.js', '/jquery-migrate(.min)?.js', '/wp-includes/js/jquery/ui/', '/porto/js/theme.js', '/porto/js/theme.min.js', ], ], 'two_645cf52ebfccc_8d0c7113047d7fd6e808586c922e441e' => [ 'title' => 'ProPhoto', 'condition' => 'prophoto7', 'type' => 'theme', 'scripts' => [ '/jquery-?[0-9.](.*)(.min|.slim|.slim.min)?.js', '/prophoto7/js/bundle.front.js', '/wp-includes/js/underscore.min.js', 'PROPHOTO', ], ], 'two_645cf52ebfccd_52aded165360352a0f5857571d96d68f' => [ 'title' => 'Publisher', 'condition' => 'publisher', 'type' => 'theme', 'scripts' => [ '/jquery-?[0-9.](.*)(.min|.slim|.slim.min)?.js', '/wp-includes/js/jquery/jquery-migrate.min.js', '/publisher/js/', ], ], 'two_645cf52ebfcce_67b475a9c68869d790f0c8dd8e1a8aec' => [ 'title' => 'REHub', 'condition' => 'rehub-theme', 'type' => 'theme', 'scripts' => [ '/jquery-?[0-9.](.*)(.min|.slim|.slim.min)?.js', '/jquery-migrate(.min)?.js', '/rehub-theme/js/custom_floatpanel.js', ], ], 'two_645cf52ebfcd0_d2b3ea2dfddc40efdc6941359436c847' => [ 'title' => 'Rey', 'condition' => 'rey', 'type' => 'theme', 'scripts' => [ '/jquery-?[0-9.](.*)(.min|.slim|.slim.min)?.js', '/jquery-migrate(.min)?.js', '/rey/scripts-(.*).js', '/rey-core/assets/js/', ], ], 'two_645cf52ebfcd1_66a4efcbe5ad42a128671f0474edaa00' => [ 'title' => 'Rife Free', 'condition' => 'rife-free', 'type' => 'theme', 'scripts' => [ '/rife-free/js/script.min.js', '/rife-free/js/isotope.pkgd.min.js', '/jquery-?[0-9.](.*)(.min|.slim|.slim.min)?.js', '/jquery-migrate(.min)?.js', 'var reJS', ], ], 'two_645cf52ebfcd2_325256f28f290cc43b376503829b3658' => [ 'title' => 'Salient', 'condition' => 'salient', 'type' => 'theme', 'scripts' => [ '/jquery-?[0-9.](.*)(.min|.slim|.slim.min)?.js ', '/jquery-migrate(.min)?.js', '/salient/', 'winW > bodyW', ], ], 'two_645cf52ebfcd3_b9a2481224a4621274d2855f04fd6e13' => [ 'title' => 'Salient - Nectar slider', 'type' => 'theme', 'condition' => 'salient', 'scripts' => [ '/salient-nectar-slider/js/nectar-slider.js', '/jquery-?[0-9.](.*)(.min|.slim|.slim.min)?.js ', '/jquery-migrate(.min)?.js', ], ], 'two_645cf52ebfcd4_0d08849d7aa22a2033ba8077d857d3bb' => [ 'title' => 'Shoptimizer', 'condition' => 'shoptimizer', 'type' => 'theme', 'scripts' => [ '/jquery-?[0-9.](.*)(.min|.slim|.slim.min)?.js', '/jquery-migrate(.min)?.js', '/shoptimizer/assets/js/lazyload-bg.js', '/shoptimizer/assets/js/main.min.js', ], ], 'two_645cf52ebfcd5_08ed12688b0ba10e5673f537296b9a7c' => [ 'title' => 'SmartMag', 'condition' => 'smart-mag', 'type' => 'theme', 'scripts' => [ '/smart-mag/js/lazyload.js', ], ], 'two_645cf52ebfcd7_e2946d6c7dc5e292bd84fb68bb4e8bcf' => [ 'title' => 'Soledad', 'condition' => 'soledad', 'type' => 'theme', 'scripts' => [ '/jquery-?[0-9.](.*)(.min|.slim|.slim.min)?.js', '/jquery-migrate(.min)?.js', '/soledad/js/main.js', '/soledad/js/more-post.js', '/soledad/js/libs-script.min.js', ], ], 'two_645cf52ebfcd8_edcd259e0a03c7ab70feb186bae19f13' => [ 'title' => 'Stockholm', 'condition' => 'stockholm', 'type' => 'theme', 'scripts' => [ '/jquery-?[0-9.](.*)(.min|.slim|.slim.min)?.js', '/jquery-migrate(.min)?.js', '/stockholm/js/', ], ], 'two_645cf52ebfcd9_a8f2e11a54b6346b676c448890c2d688' => [ 'title' => 'Storefront', 'condition' => 'storefront', 'type' => 'theme', 'scripts' => [ '/storefront/assets/js/navigation.min.js', ], ], 'two_645cf52ebfcda_7847f4d4db90521f0a536e925a07408d' => [ 'title' => 'StreamTube', 'condition' => 'streamtube', 'type' => 'theme', 'scripts' => [ '/jquery-?[0-9.](.*)(.min|.slim|.slim.min)?.js', '/jquery-migrate(.min)?.js', '/streamtube/', '/streamtube-core/', ], ], 'two_645cf52ebfcdb_3de21daaa2ac8a58d8ef49f123f285aa' => [ 'title' => 'The7', 'condition' => 'dt-the7', 'type' => 'theme', 'scripts' => [ '/jquery-?[0-9.](.*)(.min|.slim|.slim.min)?.js', '/wp-includes/js/jquery/jquery-migrate.min.js', 'loader-removed', '/Ultimate_VC_Addons/assets/min-js/', '/dt-the7/', '/js_composer/', ], ], 'two_645cf52ebfcdc_5fcc17c03b0bc3d25d2beec8cd644cb8' => [ 'title' => 'TheGem', 'condition' => 'thegem', 'type' => 'theme', 'scripts' => [ '/jquery-?[0-9.](.*)(.min|.slim|.slim.min)?.js', '/jquery-migrate(.min)?.js', '/thegem/js/', 'gemSettings', 'thegemSlideshow', 'tgpLazyItemsOptions', ], ], 'two_645cf52ebfcdd_96b0141273eabab320119c467cdcaf17' => [ 'title' => 'Total', 'condition' => 'Total', 'type' => 'theme', 'scripts' => [ '/jquery-?[0-9.](.*)(.min|.slim|.slim.min)?.js', '/jquery-migrate(.min)?.js', '/Total/assets/js/total.min.js', ], ], 'two_645cf52ebfcde_99d3bb685b7f54b4a60db407f216789a' => [ 'title' => 'Townhub', 'type' => 'theme', 'condition' => 'townhub', 'scripts' => [ '/jquery-?[0-9.](.*)(.min|.slim|.slim.min)?.js', '/jquery-migrate(.min)?.js', '/townhub-add-ons/assets/js/(.*)', '/wp-includes/js/dist/vendor/react.js', '/wp-includes/js/dist/vendor/react-dom.js', ], ], 'two_645cf52ebfcdf_4c69db951aa512d7e639da257af0a94a' => [ 'title' => 'Uncode', 'condition' => 'uncode', 'type' => 'theme', 'scripts' => [ '/jquery-?[0-9.](.*)(.min|.slim|.slim.min)?.js', '/jquery-migrate(.min)?.js', '/uncode/library/js/init(.min)?.js', '/uncode/library/js/plugins(.min)?.js', '/uncode/library/js/app(.min)?.js', '/uncode/library/js/woocommerce-uncode(.min)?.js', '/wp-includes/js/mediaelement/mediaelement-and-player.min.js', 'initHeader', 'initBox', 'fixMenuHeight', 'initRow', ], ], 'two_645cf52ebfce1_90a8539867db3f9db51aa2514624faa9' => [ 'title' => 'Werkstatt', 'condition' => 'werkstatt', 'type' => 'theme', 'scripts' => [ '/jquery-?[0-9.](.*)(.min|.slim|.slim.min)?.js', '/jquery-migrate(.min)?.js', '/js/underscore.min.js', '/werkstatt/assets/js/vendor.min.js', '/werkstatt/assets/js/fullscreen.min.js', '/werkstatt/assets/js/app.min.js', ], ], 'two_645cf52ebfce2_333853c80f848940c3c473c4f7af7c9d' => [ 'title' => 'Woodmart', 'condition' => 'woodmart', 'type' => 'theme', 'scripts' => [ '/jquery-?[0-9.](.*)(.min|.slim|.slim.min)?.js', '/jquery-migrate(.min)?.js', '/wp-includes/js/imagesloaded.min.js', '/woodmart/js/scripts/wc/', '/woodmart/js/scripts/global/', '/woodmart/js/libs/owl.carousel.min.js', '/woodmart/js/libs/owl.carousel.js', '/woodmart/js/libs/slick.js', ], ], 'two_645cf52ebfce3_746924bf62a7c5b7629ddf7d110536fe' => [ 'title' => 'XStore', 'condition' => 'xstore', 'type' => 'theme', 'scripts' => [ '/jquery-?[0-9.](.*)(.min|.slim|.slim.min)?.js', '/jquery-migrate(.min)?.js', '/xstore/js/', '/et-core-plugin/packages/st-woo-swatches/public/js/frontend.min.js', ], ], 'two_645cf52ebfce4_b2c76ad9a9ed76cddff519b3f1b56a54' => [ 'title' => 'YOOtheme Pro', 'type' => 'theme', 'condition' => 'yootheme', 'scripts' => [ '/jquery-?[0-9.](.*)(.min|.slim|.slim.min)?.js', '/jquery-migrate(.min)?.js', 'uikit.min.js', ], ], 'two_645cf52ebfce5_b257bacd2679ad401520dec73d25c46e' => [ 'title' => 'Zeen', 'condition' => 'zeen', 'type' => 'theme', 'scripts' => [ '/jquery-?[0-9.](.*)(.min|.slim|.slim.min)?.js', '/jquery-migrate(.min)?.js', '/zeen/assets/js/', '/js.cookie.min.js', ], ], ], 'types' => [ 'application\/ld\+json', 'text\/template', 'text\/x\-template', 'text\/html', 'application\/json', 'text\/totalpoll\-config', ], ]; public static $site_plugins = []; public static $plugins_exclusion_list = []; public static $scripts_exclusion_list = []; public static $themes_exclusion_list = []; public static $exclusion_data = []; public static function get_exclusion_list($options, $content) { $folder_exclude = false; $delay_all_js_execution = $options['delay_all_js_execution']; $exclude_data = self::EXCLUDE_LIST['types']; if (isset($options['exclude_delay_js']) && is_array($options['exclude_delay_js'])) { $exclude_data = array_merge($options['exclude_delay_js'], $exclude_data); } if ($delay_all_js_execution && isset($options['two_delay_js_exclusions']) && is_array($options['two_delay_js_exclusions'])) { $two_delay_js_exclusions = $options['two_delay_js_exclusions']; $plugins_list = self::EXCLUDE_LIST['plugins']; $scripts_list = self::EXCLUDE_LIST['scripts']; $themes_list = self::EXCLUDE_LIST['themes']; foreach ($two_delay_js_exclusions as $id => $key) { if (isset($plugins_list[$key]['scripts'])) { if (isset($plugins_list[$key]['regex_to_find'])) { preg_match($plugins_list[$key]['regex_to_find'], $content, $matches); if (empty($matches)) { continue; } } $exclude_data[] = $plugins_list[$key]['scripts']; } elseif (isset($scripts_list[$key]['scripts'])) { if (isset($scripts_list[$key]['regex_to_find'])) { preg_match($scripts_list[$key]['regex_to_find'], $content, $matches); if (empty($matches)) { continue; } } $exclude_data[] = $scripts_list[$key]['scripts']; } elseif (isset($themes_list[$key]['scripts'])) { $exclude_data[] = $themes_list[$key]['scripts']; } elseif ($key !== 'tenweb-speed-optimizer/tenweb_speed_optimizer.php') { $plugin_folder_name_arr = explode('/', $key); $plugin_folder_name = '/' . $plugin_folder_name_arr[0] . '/'; $exclude_data[] = $plugin_folder_name; $folder_exclude = true; } } if ($folder_exclude) { $exclude_data[] = ['/jquery-?[0-9.](.*)(.min|.slim|.slim.min)?.js', '/jquery-migrate(.min)?.js']; } $exclude_data = OptimizerUtils::two_flatten($exclude_data); $exclude_data = array_unique($exclude_data); } $excludeDataFromHook = apply_filters('two_modify_exclude_js_from_delay', $exclude_data, 10, 1); if (is_array($excludeDataFromHook)) { $exclude_data = $excludeDataFromHook; } return $exclude_data; } public static function get_exclusion_data() { self::$site_plugins = get_plugins(); if (is_array(self::$site_plugins)) { unset(self::$site_plugins['tenweb-speed-optimizer/tenweb_speed_optimizer.php']); } self::$plugins_exclusion_list = self::EXCLUDE_LIST['plugins']; self::$scripts_exclusion_list = self::EXCLUDE_LIST['scripts']; self::$themes_exclusion_list = self::EXCLUDE_LIST['themes']; self::$exclusion_data = self::$site_plugins; $filter_exclusion_plugins_fanc = self::class . '::filter_exclusion_plugins'; array_filter(self::$plugins_exclusion_list, $filter_exclusion_plugins_fanc, ARRAY_FILTER_USE_BOTH); self::$exclusion_data = array_merge(self::$exclusion_data, self::$scripts_exclusion_list); $current_theme = wp_get_theme(); $theme_text_domain = $current_theme->get('TextDomain'); foreach (self::$themes_exclusion_list as $key => $val) { if (isset($val['condition']) && $val['condition'] === "$theme_text_domain") { self::$exclusion_data[$key] = $val; } } return self::$exclusion_data; } public static function filter_exclusion_plugins($val, $key) { $plugin_key = $val['condition']; if (isset(self::$site_plugins[$plugin_key])) { unset(self::$exclusion_data[$plugin_key]); self::$exclusion_data[$key] = $val; } } public static function plugin_is_excluded($condition) { global $TwoSettings; $site_plugins = get_plugins(); $plugins_exclusion_list = self::EXCLUDE_LIST['plugins']; $two_delay_js_exclusions = $TwoSettings->get_settings('two_delay_js_exclusions'); if (is_array($two_delay_js_exclusions)) { foreach ($two_delay_js_exclusions as $item) { if (isset($plugins_exclusion_list[$item])) { if ($plugins_exclusion_list[$item]['condition'] === $condition) { return true; } } else { $key = explode('/', $condition); $plugin_folder_name = '/' . $key[0] . '/'; if (in_array($plugin_folder_name, $two_delay_js_exclusions)) { return true; } } } } return false; } }