WordPress – Make WP functions accessible in a PHP script
To make all WordPress functions accessible in a PHP script, just include wp-load.php require_once(‘../wp-load.php’); to test, we can for example display the version of WordPress $blog_info = get_bloginfo(‘version’); print_r($blog_info);