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.