embed_handler_html
apply_filters( ’embed_handler_html’, string|false $return , string $url , array $attr )
过滤器::过滤返回的嵌入HTML。
Filter Hook: Filters the returned embed HTML.
说明(Description)
参数(Parameters)
参数 | 类型 | 说明 |
---|---|---|
$return | (string | false) | 快捷方式的HTML结果,或失败时为false。 |
$url | (string) | 嵌入的URL。 |
$attr | (array) | 一组快捷方式属性。 |
源码(Source)
更新版本 | 源码位置 | 使用 | 被使用 |
---|---|---|---|
2.9.0 | wp-includes/class-wp-embed.php:186 | 1 | 0 |
embed_handler_html 为WP2原创文章,链接:https://www.wp2.cn/hook/embed_handler_html/