Send email once every 12 months to a particular user [closed]

Set update_user_meta() for a WP_User if get_user_meta() ends up empty. Update a key with a future date for the next year: $startDate=date(‘Y-m-d’); $futureDate=date(‘Y-m-d’, strtotime(‘+1 year’, strtotime($startDate)) ); Schedule an event in one year with wp_schedule_event() or use ‘daily’ to check all users for a relative year date. // WP_User_Query arguments $args = array ( ‘meta_query’ … Read more

Woocommerce Emails not being sent [closed]

This sounds like your site is unable to send emails from the web server or your emails are being blocked by spam filters. Try setting up a free account at one of the two services I’ve linked to below and install their WordPress plugin and see if this fixes your email issues. Sendgrid Mandrill

Admin new order email customization

You can change the contents of all emails by overriding the templates from your (child) theme. Read the documentation on Template Structure for more information on where all the files are located and how you can override them. For example, say you would like to override the admin order notification, copy: the templates/emails/admin-new-order.php file from … Read more