$args Arguments for `wp_remote_get()` that replace the defaults. * @return array|WP_Error */ public static function get( string $url, array $args = array() ) { return wp_remote_get( // phpcs:ignore WordPressVIPMinimum.Functions.RestrictedFunctions.wp_remote_get_wp_remote_get -- Request to the site's own front page. $url, array_merge( array( 'timeout' => self::TIMEOUT, 'redirection' => 0, 'limit_response_size' => self::MAX_RESPONSE, 'sslverify' => (bool) apply_filters( 'https_local_ssl_verify', false ), // phpcs:ignore WordPress.NamingConventions.PrefixAllGlobals.NonPrefixedHooknameFound -- Core filter for loopback requests. ), $args ) ); } }