Created
February 14, 2016 16:13
-
-
Save thadallender/916a7f9b64cb53c9f731 to your computer and use it in GitHub Desktop.
Changes Sell Media's terms of service label on Checkout page.
This file contains hidden or 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
<?php | |
/** | |
* Add the following function to your own functionality plugin | |
* or add it to your theme's functions.php file. | |
* Change any of the text inside the return value. | |
*/ | |
function my_sell_media_tos_label() { | |
return 'Hey this is my custom text. Please agree to our <a href="javascript:void(0);" class="sell-media-empty-dialog-trigger">terms of service</a>.'; | |
} | |
add_filter( 'sell_media_tos_label', 'my_sell_media_tos_label' ) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment