Home › Forums › Backend Issues (wp-admin) › Alter field group settings per content type › Reply To: Alter field group settings per content type
The only difference in the hooks is that one is an older hook and one is a newer hook. I don’t know which is which, neither is documented on this site, so it’s hard to say. They are called one right after the other, so it shouldn’t matter which one you use.
I did some testing and I think that you are running afoul of WP’s meta box order setting. When someone edits a post the order the meta boxes are in are saved so that the next time that user edits another post of the same post type the boxes are in the same place. In my test I could not effect the position of existing groups in any way, but I could change the position of a new group that had never been used before.
Go into the db, in the usermeta table and find the meta key “meta-box-order_event” for your user ID and delete it. Then load an event page and see what happens.
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!
🚨 The 2023 ACF Annual Survey closes tomorrow! This is your last chance to complete the survey and help guide the evolution of ACF. https://t.co/0cgr9ZFOJ5
— Advanced Custom Fields (@wp_acf) May 18, 2023
© 2023 Advanced Custom Fields.
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 Cookie Policy. If you continue to use this site, you consent to our use of cookies.