Home Forums Backend Issues (wp-admin) Post status for Custom Post Type


Post status for Custom Post Type

  • Hi,

    I have a problem with a post object field.
    This field is relative to a CPT. We changing it’s value programmaticaly from the front end. However, the CPT has specific status (progess, correction, publish).
    When i look in back end, if the status of the my object is not publish, the select doesn’t display it (but the value of the field is correct in db). If the value is “publish”, the select display it.
    The filter works well no matter the status. For that, we use this filter (acf/fields/post_object/query/name=$fieldname).
    Now, we would like to know if someone know how to make it. Is there a filter to show a post object without a “classic” status ?!

Viewing 1 post (of 1 total)

The topic ‘Post status for Custom Post Type’ is closed to new replies.