diff --git a/includes/admin/class-wc-admin-webhooks.php b/includes/admin/class-wc-admin-webhooks.php index 610e06d36c4..4d77c0a46f6 100644 --- a/includes/admin/class-wc-admin-webhooks.php +++ b/includes/admin/class-wc-admin-webhooks.php @@ -151,6 +151,9 @@ class WC_Admin_Webhooks { // Topic $this->update_topic( $webhook ); + // Update date. + wp_update_post( array( 'ID' => $webhook->id, 'post_modified' => current_time( 'mysql' ) ) ); + // Run actions do_action( 'woocommerce_webhook_options_save', $webhook->id );