Home Forums Backend Issues (wp-admin) Alter field group settings per content type Reply To: Alter field group settings per content type

  • Sorry to say still no luck. My function gets executed and returns the altered field_group, but no change to the order on the editing screen. It still appears that acf/settings/load_json hook is getting fired again afterward as the breakpoint I put in that hook gets hit after my function to alter the group.

    I tried testing it with the post type check removed and it worked, so I think you are right about finding a different way to check the post type. I’ll look into that and let you know what I find out. The strange thing is that the breakpoint inside the if statement gets hit, so I assumed the post_type check was working.

    Thanks again for all your help.