Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
Gravity Perks // GP eCommerce Fields // Modify Order Labels
<?php
/**
* Gravity Perks // GP eCommerce Fields // Modify Order Labels
* http://gravitywiz.com/documentation/gravity-forms-ecommerce-fields/
*/
add_filter( 'gpecf_order_labels', function( $labels ) {
$labels['order'] = 'Le Order';
$labels['product'] = 'Le Product';
$labels['quantity'] = 'Le Quantity';
$labels['unit_price'] = 'Le Unit Price';
$labels['price'] = 'Le Price';
$labels['subtotal'] = 'Le Subtotal';
$labels['total'] = 'Le Total';
return $labels;
} );
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.