wpseek.com
A WordPress-centric search engine for devs and theme authors



oembed_response_data › WordPress Filter Hooks

Since4.4.0
Deprecatedn/a
apply_filters( 'oembed_response_data', $data, $post, $width, $height )
Parameters: (4)
  • (array) $data The response data.
    Required: Yes
  • (WP_Post) $post The post object.
    Required: Yes
  • (int) $width The requested width.
    Required: Yes
  • (int) $height The calculated height.
    Required: Yes
Defined at:
Codex:

Filters the oEmbed response data.





Source

return apply_filters( 'oembed_response_data', $data, $post, $width, $height );