using wp_remote_get to retrieve own url on local host
I have a website in local development at test:8888 and I am trying to get the following to work in my functions.php file. $response = wp_remote_get( ‘test:8888/?p=1’ ); print_r($response); Unfortunately this is printing WP_Error Object ( [errors] => Array ( [http_request_failed] => Array ( [0] => A valid URL was not provided. ) ) [error_data] … Read more