Home › Forums › Feature Requests › Function to delete groups added programatically › Reply To: Function to delete groups added programatically
also… don’t run acf_get_local_store( 'groups' )->remove( $key )
directly like some other post here suggests. This is literally exactly what acf_remove_local_field_group
does at the moment if you look in the code.
acf_get_local_store
is not meant to be run directly, I don’t think.
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.