WordPress filter hook
wlbackorder_order_query_limit
Fired by 2 WordPress plugins, running on 80K+ sites between them.
How to use wlbackorder_order_query_limit
It's a filter: your callback receives the value, and must return the (changed) value.
Add this to your theme's functions.php or a small custom plugin:
add_filter( 'wlbackorder_order_query_limit', function( $value ) {
// Change $value here.
return $value;
}, 10, 1 );Argument names come from ShopLentor's source. Other plugins may pass different values: check the call in the plugin you're targeting below.
2 plugins that fire wlbackorder_order_query_limit
Sorted by active installs. Each entry shows where the plugin calls the hook and what it passes.
-
ShopLentor80,000+ installs
apply_filters( 'wlbackorder_order_query_limit', 250 )includes/modules/backorder/backorder.php:284 -
ShopXpertFewer than 10 installs
apply_filters( 'wlbackorder_order_query_limit', 250 )incs/features/backorder/class.backorder.php:299
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.