oembed_iframe_title_attribute

过滤钩子


apply_filters( 'oembed_iframe_title_attribute', $title, $result, $data, $url )
参数
  • (string)
    $title
    The title attribute.
    Required:
  • (string)
    $result
    The oEmbed HTML result.
    Required:
  • (object)
    $data
    A data object result from an oEmbed provider.
    Required:
  • (string)
    $url
    The URL of the content to be embedded.
    Required:
定义位置
  • wp-includes/embed.php
    , line 879
引入
5.2.0
弃用

Filters the title attribute of the given oEmbed HTML iframe.

$title = apply_filters( 'oembed_iframe_title_attribute', $title, $result, $data, $url );