Last active
September 3, 2016 04:18
-
-
Save bentasm1/4b3dd4e5e0b9e5fbbb30 to your computer and use it in GitHub Desktop.
WC Vendors Pro - Quick n Dirty Terms Page for Customers
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
/* WC Vendors Pro - A quick action for showing a string of text on the | |
* my account page for a general terms and conditions for all users | |
* not just vendors. */ | |
add_action( 'woocommerce_register_form', 'wcvendors_extra_myaccount_text' ); | |
function wcvendors_extra_myaccount_text() { | |
echo '<strong>Important</strong> -- By registering to this site you agree to our <a href="/whatever/" target="top">General Terms and Conditions</a>.'; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment