• Hi there,

    Your plugin doesn’t work when ACF is loaded directly in a theme or in another plugin because you are explicitly checking for it in the list of loaded plugins.

    You might want to consider changing line 54 in your bootstrap file to

    
    if (class_exists('ACF'))
    

    That way you’re also saving yourself a call to get_option(‘active_plugins’).

    Cheers and thanks for your work,
    Martin

  • The topic ‘Support for ACF loaded directly in a theme and not as a standalone plugin’ is closed to new replies.