wc_autoship_schedule_email_no_payment_method (filter)

Alter message displayed in emails for missing payment methods.

Example

<?php 
/**
* @param string $message
* @return string 
*/
function wc_autoship_schedule_email_no_payment_method_example( $message ) {
  // Override default 'No payment method' message
  return __( 'Missing payment method!!!', 'your_plugin' );
}
add_filter( 'wc_autoship_schedule_email_no_payment_method', 'wc_autoship_schedule_email_no_payment_method_example', 10, 1 );

Still need help? Contact Us Contact Us