Home Forums Backend Issues (wp-admin) Select Author with ACF Field? Reply To: Select Author with ACF Field?

  • Thanks for this @metalpotatouk this is super helpful. This works almost perfectly but I’m still having a small issue. I’m using Buddyforms to create/edit front end posts with ACF managing the fields for a custom post type in the backend. I’ve added the code you shared to the functions.php file.

    When I try to assign to an author (other than the signed in user) and save the post the ACF field is updated correctly but this doesnt initially update the post_author field (the post is still assigned to the logged in user). If I go to the back end and open the post I can see the author field has been updated correctly and if I then press ‘update’ it will then update the post_author field correctly.

    Is there something that could trigger this update without me having to go into the backend and do it manually?