Closed ns-rx closed 2 months ago
This `plugin_dir_path( __FILE__ )` is called four times - it won't change between each call, I promise - so call it once into a constant (that can also be used elsewhere if needed) and use that in your `require_once` statements.
_Originally posted by @GaryJones in https://github.com/ns-rx/poetwp/pull/13#discussion_r1730402597_
And also check other files
Also https://github.com/ns-rx/poetwp/pull/13#discussion_r1730399405
_Originally posted by @GaryJones in https://github.com/ns-rx/poetwp/pull/13#discussion_r1730402597_