Created
April 21, 2017 21:10
-
-
Save spivurno/0a20e6eab24877cf0d3fa4e7aba3127a to your computer and use it in GitHub Desktop.
Gravity Perks // GP eCommerce Fields // Modify Order Labels
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?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