oembed_remote_get_args, array(
oembed_remote_get_args, array(
Appears in: 7.0.3
Hook Type: filter
Displaying hooks found in version: 7.0.3apply_filters('oembed_remote_get_args, array(') is found 1 times:
- /wp-includes/class-wp-oembed.php line 574
private function _fetch_with_format( $provider_url_with_args, $format ) { $provider_url_with_args = add_query_arg( 'format', $format, $provider_url_with_args ); /** This filter is documented in wp-includes/class-wp-oembed.php */ $args = apply_filters( 'oembed_remote_get_args', array(), $provider_url_with_args ); $response = wp_safe_remote_get( $provider_url_with_args, $args ); if ( 501 === wp_remote_retrieve_response_code( $response ) ) { return new WP_Error( 'not-implemented' ); }