Roots Discourse

Path to /web/app?

How would one go about getting the path to /web/app directory?

site_url
returns:
//localhost:3000/wp

How about returning:
//localhost:3000/app ?

Kindly–

Thanks, we’re trying to get the path of file in a plugin under /app/plugins.

Nevermind, got it. Thanks for the reference though, it pointed us in the right direction.

Did plugin_url() or plugin_dir_path() not work for you?

This topic was automatically closed after 42 days. New replies are no longer allowed.