Support

Account

Home Forums ACF PRO Load ACF Pro from inside a plugin Reply To: Load ACF Pro from inside a plugin

  • If you haven’t already figured this out try using dirname(__FILE__) instead of only __FILE__ when using plugins_url()

    so instead of this:
    plugins_url( '/acf-pro/', __FILE__ )

    Try this:
    plugins_url( '/acf-pro/', dirname(__FILE__) )