Skip to content

Instantly share code, notes, and snippets.

@rickalday
Created February 8, 2017 18:23
Show Gist options
  • Save rickalday/739140181fae7fccb1e3b3f45883b1e5 to your computer and use it in GitHub Desktop.
Save rickalday/739140181fae7fccb1e3b3f45883b1e5 to your computer and use it in GitHub Desktop.
Custom TOS text and link for Sell Media Checkout page
function sell_media_custom_tos_text(){
return 'By clicking "Checkout Now", you are agreeing to our <a href="custom link here">terms of service</a>.';
}
add_filter( 'sell_media_tos_label', 'sell_media_custom_tos_text' );
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment