How to specify the path for require_once in a child theme?


I have a child theme folder called themes/child-theme and inside I have a file dashboard_payments.php.
Under the child theme folder I’m creating a new folder called gateway and inside there’s a config.php.

So, how do I do a require_once inside dashboard_payments.php to call the file gateway/config.php? How would the require_once or include line look like?

, , cilapo1541 1 year 2020-07-18T18:10:37-05:00 0 Answers 55 views 0

Leave an answer