embed_maybe_make_link
apply_filters( ’embed_maybe_make_link’, string $output , string $url )
过滤钩子:过滤返回的,可能是链接的嵌入URL。
Filter Hook: Filters the returned, maybe-linked embed URL.
参数(Parameters)
参数 | 类型 | 说明 |
---|---|---|
$output | (string) | 链接的或原始的URL。 |
$url | (string) | 原始URL。 |
源码(Source)
更新版本 | 源码位置 | 使用 | 被使用 |
---|---|---|---|
2.9.0 | wp-includes/class-wp-embed.php:455 | 1 | 0 |
embed_maybe_make_link 为WP2原创文章,链接:https://www.wp2.cn/hook/embed_maybe_make_link/