Use WordPress timezone for webhook schedules

This commit is contained in:
2026-04-27 12:13:54 -05:00
parent f38ceccdb3
commit 1df307dfbe

View File

@@ -2629,7 +2629,7 @@ if ( ! class_exists( 'Tony_Sportspress_Webhooks' ) ) {
* @return DateTimeZone
*/
private function get_event_timezone() {
return new DateTimeZone( 'America/Chicago' );
return wp_timezone();
}
/**