i want to send my clients email when pro site going to end.
pro site send the email when pro site is ended but this not good for clients because that don't remember this things.
i need help to create this trigers:
2 weeks before end
1 week before end
in the email body: Hello "client name" you have left to use pro site " time left in pro site " for "your site". please pay to renew you prosite
i will send email using
<?php wp_mail( $to, $subject, $message, $headers, $attachments ); ?>