expire only posts with a specific flag in database
-
Hi, I want to use Post Expirator to expire only posts with type=listings.
So for no problem, because I select this type in Post Expirators settings.But there are two types of listing posts. Some have this flag in DB and some have not:
Table= gowp_postmeta
meta_key= special_car
meta_value= onI want to only expire the posts with type “listings” AND with this meta_value set to on.
How can I change to php to check for this additional flag?
Thanks and best regards
Patrick
Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
The topic ‘expire only posts with a specific flag in database’ is closed to new replies.