wordpress physical installation path

Simply you can get wordpress physical installation path using ABSPATH

Constant.


require_once('wp-config.php');
echo  ABSPATH;

Leave a Reply

Your email address will not be published. Required fields are marked *