首页 WordPress函数大全 get_oembed_response_data_rich()

get_oembed_response_data_rich()

2020-05-01 / 4964阅 / 悠然

如何你看完本文还不知道如何使用该函数,可以联系我定制视频教程,50元/个函数,学不会全额退款

get_oembed_response_data_rich( array $data, WP_Post $post, int $width, int $height )

Filters the oEmbed response data to return an iframe embed code.

描述

参数

$data

(array)
(Required)
The response data.

$post

(WP_Post)
(Required)
The post object.

$width

(int)
(Required)
The requested width.

$height

(int)
(Required)
The calculated height.

返回

(array) The modified response data.

大家谈论
    我的见解