Function Hook_media_rendering_oembed->get_oembed_data_result
Definitions
sources/hooks/systems/media_rendering/oembed.php
- Do an oEmbed lookup.
- Visibility: public
- Is abstract?: No
- Is static?: No
- Is final?: No
- Returns: array
Parameters
| Name | Type | Passed by reference? | Variadic? | Default | Set | Range | Description |
|---|---|---|---|---|---|---|---|
| $url | URLPATH | No | No | required parameter | N/A | N/A | URL to render |
| $attributes | array | No | No | required parameter | N/A | N/A | Attributes (e.g. width, height) |
Returns
- Fully parsed/validated oEmbed result (null: fail)
- Type: ?array
- Set: N/A
- Range: N/A

