I am in a hypothetical plugins root folder. Now I want the path of the
I need its path in some functions. Please guide me.
I tried this, but this doesn't seems to work:
$plugin_dir = ABSPATH . 'wp-content';
WordPress Development Stack Exchange is a question and answer site for WordPress developers and administrators. It only takes a minute to sign up.Sign up to join this community