Home Forums General Issues Error integrate with plugin Reply To: Error integrate with plugin

  • Hi @atrevido

    Then it means there’s something wrong with how you set the directory. I believe you need to pass __FILE__ constant to get the current directory of the plugin like this:

    $dir = plugins_url( 'functions/acf/', dirname(__FILE__) );

    This page should give you more idea about it:

    I hope this helps 🙂