Filters oEmbed remote get arguments.
$argsarray$urlstringwp-includes/class-wp-oembed.php:455WP_oEmbed::discover()wp-includes/class-wp-oembed.php:578WP_oEmbed::_fetch_with_format() * * @see WP_Http::request() * * @param array $args oEmbed remote get arguments. * @param string $url URL to be inspected. */ $args = apply_filters( 'oembed_remote_get_args', $args, $url ); // Fetch URL content. $request = wp_safe_remote_get( $url, $args ); $html = wp_remote_retrieve_body( $request ); if ( $html ) {Introduced in 4.0.0. Unchanged from 6.7.7 through 7.1.0.
Signature, return type and hooks compared across 5 parsed releases.