WordPress filter hook

eael/product-grid/content/reordering

Fired by 2 WordPress plugins, running on 1M+ sites between them.

How to use eael/product-grid/content/reordering

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( 'eael/product-grid/content/reordering', function( $_product_data, $settings, $product ) {
	// Change $_product_data here.
	return $_product_data;
}, 10, 3 );

Argument names come from Essential Addons for Elementor's source. Other plugins may pass different values: check the call in the plugin you're targeting below.

2 plugins that fire eael/product-grid/content/reordering

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

  1. Essential Addons for Elementor icon Essential Addons for Elementor1+ million installs apply_filters( 'eael/product-grid/content/reordering', $_product_data, $settings, $product ) includes/Template/Eicon-Woocommerce/list-preset-1.php:116
  2. Spexo Addons for Elementor icon Spexo Addons for Elementor6,000+ installs apply_filters( 'eael/product-grid/content/reordering', $_product_data, $settings, $product ) inc/woocommerce/classic-widget-templates/list-preset-1.php:117

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.