Sparks_Install_Plugin::safe_get( string $url, array $args = array() )
TODO: Combine that with the Otter’s one and move to common place.
Description
Wrapper for wp_remote_get on VIP environments.
Parameters
- $url
-
(Required) Url to check.
- $args
-
(Optional) Option params.
Default value: array()
Return
(array|WP_Error)
Source
File: includes/modules/woocommerce_booster/compatibility/sparks_install_plugin.php
Expand full source code Collapse full source code View on Github