Created
February 2, 2021 14:04
-
-
Save premanshup/8060fa8ffe1083cf4d939d508ab54c24 to your computer and use it in GitHub Desktop.
WooCommerce - Change Terms & Conditions text for Checkout Page - Astra Child Theme
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_filter( 'woocommerce_get_terms_and_conditions_checkbox_text', 'astra_change_terms_text_checkout_page' ); | |
function astra_change_terms_text_checkout_page( $text ) { | |
$text = 'This is my new text for Terms and Condition on Checkout Page.'; | |
return $text; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment