Support

Account

Home Forums Backend Issues (wp-admin) Distributing ACF in a free plugin Reply To: Distributing ACF in a free plugin

  • The function may not exist when you are trying to create your fields. When are you trying to create the field group? Is your code inside an action filter?

    The best time to do this in on “init” with a priority that will fire after ACF

    
    add_action('init', 'register_my_post_groups', 20);