vip_wp_file_get_content

This is the old deprecated version of wpcom_vip_file_get_contents().

Please don’t use this function in any new code.

Parameters

Name Type Description
$url string URL to fetch
$echo_content bool Optional. If true (the default), echo the remote file's contents. If false, return it.
$timeout int Optional. The timeout limit in seconds; valid values are 1-10. Defaults to 3.

Return Value

string|null: If $echo_content is true, there will be no return value.

Ready to get started?

Drop us a note.

No matter where you are in the planning process, we’re happy to help, and we’re actual humans here on the other side of the form. 👋 We’re here to discuss your challenges and plans, evaluate your existing resources or a potential partner, or even make some initial recommendations. And, of course, we’re here to help any time you’re in the market for some robust WordPress awesomeness.

This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.