Here's a revised version of the code that should work better:
Create a new PHP file named extract_urls.php.
Paste the following code into the file:
<?php
// Include WordPress main configuration file
require_once('wp-config.php');
// Include WordPress functions...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.