wc_autoship_schedule_email_payment_method (filter)

Alter how payment methods are displayed in Autoship emails.

Example

<?php 
/**
* @param string $payment_method_display_name
* @return string 
*/
function wc_autoship_schedule_email_payment_method_example( $payment_method_display_name ) {
  // Return generic payment method name
  return 'Credit Card';
}
add_filter( 'wc_autoship_schedule_email_payment_method', 'wc_autoship_schedule_email_payment_method_example', 10, 1 );

Still need help? Contact Us Contact Us