wpseek.com
WordPress开发者和主题制作者的搜索引擎



oembed_response_data › WordPress过滤钩子

Since4.4.0
已弃用n/a
apply_filters( 'oembed_response_data', $data, $post, $width, $height )
参数: (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
定义在:
文档:

Filters the oEmbed response data.





源码

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