Created
June 12, 2020 11:23
-
-
Save kartikparmar/d1498f5e900c559d516a82205bce0320 to your computer and use it in GitHub Desktop.
Changing pickup fields label
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 | |
function orddd_change_pickup_date_label_callback(){ | |
return __( 'New Pickup Date Label', 'order-pickup-date' ); | |
} | |
add_filter( 'orddd_change_pickup_date_label', 'orddd_change_pickup_date_label_callback' ); | |
function orddd_change_pickup_time_label_callback(){ | |
return __( 'New Pickup Time Slot Label', 'order-pickup-date' ); | |
} | |
add_filter( 'orddd_change_pickup_time_label', 'orddd_change_pickup_time_label_callback' ); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment