Can’t find variable: berocket_remove_filter
-
Using
berocket_remove_filter
In custom JS using
... jQuery(document).ready(function ($) { // remove default filter hooks berocket_remove_filter('update_products', braapf_update_products); berocket_remove_filter('update_products', braapf_close_tippy); berocket_remove_filter('update_products', braapf_update_products_search_field, 2); // init request var currentRequest = null, timeout = null; ... });
But is seems to not load on time and or clash with
wp-content/plugins/woocommerce-ajax-filters/includes/compatibility/divi-theme-builder.php
Our script is loaded with
<?php if ($header): ?> <script type="text/javascript" src="<?php echo( CONSTANT_URL . '/assets/js/file.js?v=' . CONSTANT_VERSION ); ?>"></script> <?php endif ?>
onwp-content/plugins/plugin-name-slug/templates/product-list.php
.
Any suggestions to improve our addition to work in tandem with plugin?
Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
- The topic ‘Can’t find variable: berocket_remove_filter’ is closed to new replies.