Support

Account

Home Forums Backend Issues (wp-admin) ACF make a post private if there are no rows in a repeater field. Reply To: ACF make a post private if there are no rows in a repeater field.

  • Hi @damon ,

    Thanks for the follow up.

    You make use of the wordpress update_post to set the post status to draft.

    Here is a related read .

    https://codex.wordpress.org/Function_Reference/wp_update_post

    Hope this helps.