Skip to content

Instantly share code, notes, and snippets.

@propertyhive
Last active July 18, 2022 14:26
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save propertyhive/54f32d051a338105afea75b36141cc96 to your computer and use it in GitHub Desktop.
Save propertyhive/54f32d051a338105afea75b36141cc96 to your computer and use it in GitHub Desktop.
Change auto match cron time
add_filter( 'propertyhive_auto_email_match_cron_timestamp', 'change_auto_match_cron_time' );
function change_auto_match_cron_time($time)
{
return strtotime( 'tomorrow +18hours' ) - ( get_option( 'gmt_offset' ) * HOUR_IN_SECONDS );
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment