WP_oEmbed_Controller::get_proxy_item

SummerySummery

Callback for the proxy API endpoint.

Syntax

WP_oEmbed_Controller::get_proxy_item( WP_REST_Request $request )

DescriptionDescription

Returns the JSON object for the proxied item.

ParametersParameters

$request

(WP_REST_Request) (Required) Full data about the request.

ReturnReturn

(object|WP_Error) oEmbed response data or WP_Error on failure.

SourceSource

File: wp-includes/class-wp-oembed-controller.php


			

ChangelogChangelog

Changelog
Version Description
4.8.0 Introduced.

See alsoSee also

Scroll to Top