Skip to content

Commit

Permalink
Fixed about to expire frequent email issue (#1770)
Browse files Browse the repository at this point in the history
  • Loading branch information
obiPlabon authored Jun 13, 2024
1 parent c351c2d commit efecd2f
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions includes/classes/class-cron.php
Original file line number Diff line number Diff line change
Expand Up @@ -183,6 +183,11 @@ private function update_renewal_status() {
'nopaging' => true,
'meta_query' => array(
'relation' => 'AND',
'renewal_status' => array(
'key' => '_listing_status',
'value' => 'renewal',
'compare' => '!=',
),
'never_expire' => array(
'key' => '_never_expire',
'compare' => 'NOT EXISTS',
Expand Down

0 comments on commit efecd2f

Please sign in to comment.