• Resolved sjnbham

    (@sjnbham)


    Is there a way to have the Conditional extension evaluate if a meta key exists in the postmeta for a page/post? So something like:

    Don’t process this trigger if…
    Merge tag = {postmeta {page_ID} meta_key}
    Operator = Is equal to
    Value = <blank>

    So the above would only send a notification if the meta_key existed/had a value for the page with that ID. Not sure how to accomplish checking for an empty value or if a meta key exists for the conditionals extension. I don’t see an option to set the operator to greater than or less than or I could use “greater than” and then zero.

    • This topic was modified 10 months, 2 weeks ago by sjnbham.
Viewing 1 replies (of 1 total)
  • Plugin Author Kuba Mikita

    (@kubitomakita)

    Yes, this should work.

    I also received a request from you to add more operators so let’s move there and cover your case 🙂

Viewing 1 replies (of 1 total)
  • The topic ‘Check if meta key exists’ is closed to new replies.