Quantcast
Channel: WordPress.org Forums » All Topics
Viewing all articles
Browse latest Browse all 59525

How to search for empty fields

$
0
0

Replies: 0

We are using the Classifieds Plugin to run an accommodation service for refugees from Ukraine.

People taking out an ad can either supply a phone number or an email address.

In the backend, we would like to be able to filter for ads lacking a phone number or an email address. However, running the awpcp_search_by function with an empty search field for email or phone returns all ads. Searching for “empty” does not seem to work that way.

Is there a way to get all ads with a particular field missing, i.e. empty?


Viewing all articles
Browse latest Browse all 59525

Trending Articles