Thread Starter
druix
(@druix)
Awesome. Thanks for the help!
Thread Starter
druix
(@druix)
Thanks for the prompt reply.
Perhaps I should have made it clearer that, although I have WordPress in a subdirectory, it’s still accessed via the root domain. So, in the general settings I have the WordPress address set to domain.com/wordpress and the site address set to domain.com.
As a result, get_home_path() returns /home/username/public_html and not /home/username/public_html/wordpress, however ABSPATH returns the latter.