Created
December 15, 2014 18:38
-
-
Save WillBrubaker/0b071e18eea975b321d5 to your computer and use it in GitHub Desktop.
Filter WooCommerce bookings label
This file contains hidden or 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 | |
/* | |
Change the 'Persons' label to 'Qty. of Chairs' | |
*/ | |
add_filter( 'booking_form_fields', 'wooninja_booking_form_fields' ); | |
function wooninja_booking_form_fields( $fields ) { | |
$fields['wc_bookings_field_persons']['label'] = 'Qty. of Chairs'; | |
return $fields; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment