kreamweb
5/17/2017 - 8:06 AM

How test email of subscriptions

How test email of subscriptions

<?php

//test email renew_reminder
add_action( 'init', 'ywsbs_sendemail');
function ywsbs_sendemail(){
	if( class_exists( 'YWSBS_Subscription') ) {
		$subscription = new YWSBS_Subscription( 361 );
		do_action( 'ywsbs_customer_subscription_renew_reminder_mail', $subscription );
	}
}