Created
January 27, 2022 04:52
-
-
Save jhimross/ed8a7392bab37ecf673adb598787a599 to your computer and use it in GitHub Desktop.
WooCommerce Delivery Slots - Change "ASAP" Text
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
/** | |
* Iconic WDS. | |
* Modify 'ASAP' label. | |
* | |
* @param string $label Label. | |
* | |
* @return string | |
*/ | |
function iconic_wds_modify_asap_label( $label ) { | |
return 'As soon as possible'; // Change this value | |
} | |
add_filter( 'iconic_wds_asap_label', 'iconic_wds_modify_asap_label', 10, 1 ); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment