Support

Account

Home Forums Backend Issues (wp-admin) Add custom column and make it sortable Reply To: Add custom column and make it sortable

  • Hi @torbjorn_s

    Your query is filtering the posts to those that have a value for the control_reminders_enabled meta_key.

    If your posts does not yet have a value for this, then your query will not work.

    Perhaps you need to also add in the ability to treat posts without a value as a value of 0

    I’m not 100% sure how to do this, but chances are someone on stackexcahnge / google has already written / shared the code.

    Good luck

    Cheers
    E