Home Forums General Issues check acf exists or not


check acf exists or not

  • hello
    how to check acf ( any version ) already exists in wordpress or not ?
    i means : check if any plugins or active theme using acf .
    i want this for preventing conflict two acf with together .
    do you have any suggestion ?

  • ACF should not be able to be loaded twice. It already checks itself.

    if( ! class_exists('ACF') ) :

    This is done for everything in ACF and is the reason that ACF can be added to themes and plugins. Only the first instance encountered will be active.

Viewing 2 posts - 1 through 2 (of 2 total)

The topic ‘check acf exists or not’ is closed to new replies.