Skip to content

Instantly share code, notes, and snippets.

@thadallender
Created October 15, 2016 14:43
Show Gist options
  • Save thadallender/39ff0004715b592037ce9f89cf99b138 to your computer and use it in GitHub Desktop.
Save thadallender/39ff0004715b592037ce9f89cf99b138 to your computer and use it in GitHub Desktop.
Theme.Works change Purchase text
<?php
/**
* Changes the purchase text in Theme.Works e-commerce homepage section
*/
function tw_change_ecommerce_purchase_text() {
return 'bestel';
}
add_filter( 'tw_ecommerce_purchase_text', 'tw_change_ecommerce_purchase_text' );
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment