过滤给定帖子的嵌入HTML输出。
原型
apply_filters( 'embed_html', string $output, WP_Post $post, int $width, int $height )
参数
$output
(string)
用于显示嵌入内容的默认iframe标记。
$post
(WP_Post)
当前的帖子对象。
$width
(int)
响应的宽度。
$height
(int)
回应的高度。
源文件
路径:wp-includes/embed.php
其他
英文文档:https://developer.wordpress.org/reference/hooks/embed_html/