Skip to content

Instantly share code, notes, and snippets.

@woogists
Created March 9, 2018 17:13
Show Gist options
  • Save woogists/6fc35d11351bc147d071c275f352c268 to your computer and use it in GitHub Desktop.
Save woogists/6fc35d11351bc147d071c275f352c268 to your computer and use it in GitHub Desktop.
[WooCommerce StoreCredit] Modify email sent
/* Code goes in theme functions.php */
add_filter( 'woocommerce_email_template_store_credit', 'wc_ninja_store_credit_template' );
function wc_ninja_store_credit_template() {
return get_stylesheet_directory() . "/woocommerce/customer-store-credit.php";
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment