Skip to content

Instantly share code, notes, and snippets.

@bentasm1
Last active September 3, 2016 04:18
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 1 You must be signed in to fork a gist
  • Save bentasm1/4b3dd4e5e0b9e5fbbb30 to your computer and use it in GitHub Desktop.
Save bentasm1/4b3dd4e5e0b9e5fbbb30 to your computer and use it in GitHub Desktop.
WC Vendors Pro - Quick n Dirty Terms Page for Customers
/* 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