WordPress filter hook

berocket_related_plugins_window

Fired by 21 WordPress plugins, running on 109K+ sites between them.

How to use berocket_related_plugins_window

It's a filter: your callback receives the value and 2 more arguments, and must return the (changed) value. Add this to your theme's functions.php or a small custom plugin:

functions.php
add_filter( 'berocket_related_plugins_window', function( $value, $value_from_array, $object ) {
	// Change $value here.
	return $value;
}, 10, 3 );

Argument names come from Advanced AJAX Product Filters's source. Other plugins may pass different values: check the call in the plugin you're targeting below.

21 plugins that fire berocket_related_plugins_window

Sorted by active installs. Each entry shows where the plugin calls the hook and what it passes.

  1. Advanced AJAX Product Filters icon Advanced AJAX Product Filters50,000+ installs apply_filters( 'berocket_related_plugins_window', '', br_get_value_from_array($this->cc->info, 'id'), $this ) berocket/templates/premium.php:71
  2. Min and Max Quantity for WooCommerce icon Min and Max Quantity for WooCommerce20,000+ installs apply_filters( 'berocket_related_plugins_window', '', br_get_value_from_array($this->cc->info, 'id'), $this ) berocket/templates/premium.php:71
  3. Advanced Product Labels for WooCommerce icon Advanced Product Labels for WooCommerce10,000+ installs apply_filters( 'berocket_related_plugins_window', '', br_get_value_from_array($this->cc->info, 'id'), $this ) berocket/templates/premium.php:71
  4. Load More Products for WooCommerce icon Load More Products for WooCommerce10,000+ installs apply_filters( 'berocket_related_plugins_window', '', br_get_value_from_array($this->cc->info, 'id'), $this ) berocket/templates/premium.php:71
  5. Brands for WooCommerce icon Brands for WooCommerce5,000+ installs apply_filters( 'berocket_related_plugins_window', '', br_get_value_from_array($this->cc->info, 'id'), $this ) berocket/templates/premium.php:71
  6. Product Watermark for WooCommerce icon Product Watermark for WooCommerce2,000+ installs apply_filters( 'berocket_related_plugins_window', '', br_get_value_from_array($this->cc->info, 'id'), $this ) berocket/templates/premium.php:71
  7. Grid/List View for WooCommerce icon Grid/List View for WooCommerce2,000+ installs apply_filters( 'berocket_related_plugins_window', '', br_get_value_from_array($this->cc->info, 'id'), $this ) berocket/templates/premium.php:71
  8. Cart Notices for WooCommerce icon Cart Notices for WooCommerce2,000+ installs apply_filters( 'berocket_related_plugins_window', '', br_get_value_from_array($this->cc->info, 'id'), $this ) berocket/templates/premium.php:71
  9. Product Tabs Manager for WooCommerce icon Product Tabs Manager for WooCommerce1,000+ installs apply_filters( 'berocket_related_plugins_window', '', br_get_value_from_array($this->cc->info, 'id'), $this ) berocket/templates/premium.php:71
  10. Terms and Conditions Popup for WooCommerce icon Terms and Conditions Popup for WooCommerce1,000+ installs apply_filters( 'berocket_related_plugins_window', '', br_get_value_from_array($this->cc->info, 'id'), $this ) berocket/templates/premium.php:71
  11. Sales Report for WooCommerce icon Sales Report for WooCommerce1,000+ installs apply_filters( 'berocket_related_plugins_window', '', br_get_value_from_array($this->cc->info, 'id'), $this ) berocket/templates/premium.php:71
  12. Products Compare for WooCommerce icon Products Compare for WooCommerce1,000+ installs apply_filters( 'berocket_related_plugins_window', '', br_get_value_from_array($this->cc->info, 'id'), $this ) berocket/templates/premium.php:71
  13. Pagination Styler for WooCommerce icon Pagination Styler for WooCommerce1,000+ installs apply_filters( 'berocket_related_plugins_window', '', br_get_value_from_array($this->cc->info, 'id'), $this ) berocket/templates/premium.php:71
  14. Sequential Order Numbers for WooCommerce icon Sequential Order Numbers for WooCommerce900+ installs apply_filters( 'berocket_related_plugins_window', '', br_get_value_from_array($this->cc->info, 'id'), $this ) berocket/templates/premium.php:71
  15. Products Suggestions for WooCommerce icon Products Suggestions for WooCommerce600+ installs apply_filters( 'berocket_related_plugins_window', '', br_get_value_from_array($this->cc->info, 'id'), $this ) berocket/templates/premium.php:71
  16. Force Sell for WooCommerce icon Force Sell for WooCommerce600+ installs apply_filters( 'berocket_related_plugins_window', '', br_get_value_from_array($this->cc->info, 'id'), $this ) berocket/templates/premium.php:71
  17. Currency Exchange for WooCommerce icon Currency Exchange for WooCommerce500+ installs apply_filters( 'berocket_related_plugins_window', '', br_get_value_from_array($this->cc->info, 'id'), $this ) berocket/templates/premium.php:71
  18. Wishlist and Waitlist for WooCommerce icon Wishlist and Waitlist for WooCommerce100+ installs apply_filters( 'berocket_related_plugins_window', '', br_get_value_from_array($this->cc->info, 'id'), $this ) berocket/templates/premium.php:71
  19. Product of the Day for WooCommerce icon Product of the Day for WooCommerce40+ installs apply_filters( 'berocket_related_plugins_window', '', br_get_value_from_array($this->cc->info, 'id'), $this ) berocket/templates/premium.php:71
  20. Product Preview for WooCommerce icon Product Preview for WooCommerce40+ installs apply_filters( 'berocket_related_plugins_window', '', br_get_value_from_array($this->cc->info, 'id'), $this ) berocket/templates/premium.php:71
  21. Splash Popup for WooCommerce icon Splash Popup for WooCommerce30+ installs apply_filters( 'berocket_related_plugins_window', '', br_get_value_from_array($this->cc->info, 'id'), $this ) berocket/templates/premium.php:71

Need a customisation built on this hook?

Tell us what you want to change and which plugin it's for. We'll write it, test it and send it back as a small plugin.