首页 WordPress函数大全 get_oembed_response_data()

get_oembed_response_data()

2020-05-01 / 2115阅 / 悠然

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

get_oembed_response_data( WP_Post|int $post, int $width )

Retrieves the oEmbed response data for a given post.

描述

参数

$post

(WP_Post|int)
(Required)
Post object or ID.

$width

(int)
(Required)
The requested width.

返回

(array|false) Response data on success, false if post doesn't exist.

大家谈论
    我的见解