Last active
July 18, 2022 14:26
-
-
Save propertyhive/54f32d051a338105afea75b36141cc96 to your computer and use it in GitHub Desktop.
Change auto match cron time
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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