Core Class
View Source on Trac ↗
Core Class
WP_oEmbed_Controller
class WP_oEmbed_Controller
// Constructor: function Object() { [native code] } oEmbed API endpoint controller.
Methods 4 methods
| Method / Return | Description |
|---|---|
| register_routes() void | Register the oEmbed REST API route. |
| get_item() (array | Callback for the embed API endpoint.
Parameters: $request: mixed |
| get_proxy_item_permissions_check() (true | Checks if current user can make a proxy oEmbed request. |
| get_proxy_item() (object | Callback for the proxy API endpoint.
Parameters: $request: mixed |
Class Information
Since Version
4.4.0
Source File
wp-includes/class-wp-oembed-controller.php
Advertisement