Created
July 24, 2020 16:23
-
-
Save yiedpozi/ba3fc945ec3729d44acde6763e621e8c to your computer and use it in GitHub Desktop.
WooCommerce Checkout Shipping Additional 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
add_action( 'woocommerce_after_shipping_rate', 'checkout_shipping_additional_text', 20, 2 ); | |
function checkout_shipping_additional_text( $method, $index ) { | |
if ( $method->get_method_id() == 'free_shipping' ) { | |
echo '<br>Pesanan akan diterima pada 3 - 5 hari bekerja'; | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment