WordPress filter hook
woocs_back_convert_price
Fired by 5 WordPress plugins, running on 52K+ sites between them.
How to use woocs_back_convert_price
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( 'woocs_back_convert_price', function( $amount ) {
// Change $amount here.
return $amount;
}, 10, 1 );Argument names come from Shipped's source. Other plugins may pass different values: check the call in the plugin you're targeting below.
5 plugins that fire woocs_back_convert_price
Sorted by active installs. Each entry shows where the plugin calls the hook and what it passes.
-
Advanced AJAX Product Filters50,000+ installs
apply_filters( 'woocs_back_convert_price', $single )includes/compatibility/woocs.php:17 -
wModes800+ installs
apply_filters( 'woocs_back_convert_price', $amount, false )main/compatibility/woocs/woocs.php:30 -
Product Option Kit400+ installs
apply_filters( 'woocs_back_convert_price', $price, '' )includes/Pricing/Currency/Adapter/WoocsAdapter.php:44 -
Shipped300+ installs
apply_filters( 'woocs_back_convert_price', $amount )extensions/shipped/compatibility/woocs/woocs.php:68 -
PCOD100+ installs
apply_filters( 'woocs_back_convert_price', $amount )main/compatibility/woocs/woocs.php:68
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.