Support

Account

Home Forums Backend Issues (wp-admin) wp_insert_user on save Reply To: wp_insert_user on save

  • Thanks Elliot,
    Unsetting $_POST[‘acf_nonce’] before inserting the user stops the ACF fields from being passed to the new user account. That works great, but the publish hook fires before the post is saved, meaning the ACF fields are not saved to the custom post record.

    Do you know if there’s a way to change the order of the publish function to fire after the post save? I’ll of course experiment with this too and post back here if I find a solution.

    Thanks again