reminder wp_schedule_event

It’s because your code is explicitly written to ignore whether or not the event is in the past or the future. See here: $diff = strtotime($my_meta) – strtotime($datetime2); If the event date is in the future, $diff will be a positive number, but if it’s in the past, it will be a negative number. Then … Read more

How to get data from a form on a wordpress site?

WordPress Hooks Method If the form is created with a plugin (like Contact Form 7 or Gravity Forms) you can use the available hooks: CF7: wpcf7_before_send_mail GF: gform_after_submission This should cover the majority of WordPress Websites. On both hooks you can access the transmitted form fields and send them to your own script. jQuery Method … Read more