embed_handler_html

过滤钩子


apply_filters( 'embed_handler_html', $return, $url, $attr )
参数
  • (string|false)
    $return
    The HTML result of the shortcode, or false on failure.
    Required:
  • (string)
    $url
    The embed URL.
    Required:
  • (array)
    $attr
    An array of shortcode attributes.
    Required:
定义位置
  • wp-includes/class-wp-embed.php
    , line 170
引入
2.9.0
弃用

Filters the returned embed HTML.

return apply_filters( 'embed_handler_html', $return, $url, $attr );