Home › Forums › Backend Issues (wp-admin) › Custom fields get emptied when publishing › Reply To: Custom fields get emptied when publishing
I am running ACF v4.4.3 (standard, not pro) and was experiencing the same issue. I tried the fix proposed by flahertydaf:
function load_field_defaults( $field ) { return $field; }
to no avail.
The problem was that I had cloned a field group, but even though the fields were given totally different names/slugs, the field values were not being saved to the DB.
Deleting the cloned group and manually recreating those fields in a new group solved the issue.
Welcome to the Advanced Custom Fields community forum.
Browse through ideas, snippets of code, questions and answers between fellow ACF users
Helping others is a great way to earn karma, gain badges and help ACF development!
We use cookies to offer you a better browsing experience, analyze site traffic and personalize content. Read about how we use cookies and how you can control them in our Privacy Policy. If you continue to use this site, you consent to our use of cookies.