Use wp_remote_get() with a private or password protected page?

Question

Is there any way to use the wp_remote_get() function to access a WordPress page that is either set to Private -OR- password protected (using the native password option in the post visibility settings)? I need to use this function in a cron event to access a page, but I don’t want this page to be accessible by the public or search bots. (Googlebot is ignoring my noindex on the page).

Thank you!

0
, LBF 4 years 2020-05-05T15:10:52-05:00 0 Answers 109 views 0

Leave an answer

Browse
Browse