Support

Account

Home Forums Bug Reports add_filter('acf/fields/taxonomy/query') bug Reply To: add_filter('acf/fields/taxonomy/query') bug

  • I have that if statement bass ackwards. You want to instantiate your object if it is an ajax call.

    
    if( !is_admin() || (defined('DOING_AJAX') && DOING_AJAX) )
        new UnitedDJ();