Home › Forums › Backend Issues (wp-admin) › Alter field group settings per content type › Reply To: Alter field group settings per content type
I added the var_dump and verified that it is set. It output /Users/nrackleff/Sites/toind/web/wp-content/themes/ts_toind/functions.php:356:string 'event' (length=5)
I also added a breakpoint inside the if
statement and the code is getting executed. The breakpoint does get hit when I run the code, so that doesn’t seem to be the problem.
What is the difference between get_field_group and load_field_group? Do they both get called after the json has loaded? Just want to make sure I’m using the correct hook.
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.