Leave hidden listings (withdrawn, off market, deleted) out of EPL's listing queries
Before 3.6 they were only skipped when each listing was shown, so pages showed fewer listings than they should, and page counts included listings nobody could see. Uses epl_hide_listing_statuses(), so a site that shows off market listings with that filter still gets them. Listings with no status are kept, as before.
| Since | |
|---|---|
3.6 |
Added. |
| Parameters | |||
|---|---|---|---|
WP_Query
|
$query |
The query. |
# |
| Returns | |
|---|---|
void
|
|