oembed_discovery_links
Filters the oEmbed discovery links HTML.
Использование
add_filter( 'oembed_discovery_links', 'wp_kama_oembed_discovery_links_filter' ); /** * Function for `oembed_discovery_links` filter-hook. * * @param string $output HTML of the discovery links. * * @return string */ function wp_kama_oembed_discovery_links_filter( $output ){ // filter... return $output; }
- $output(строка)
- HTML of the discovery links.
Список изменений
С версии 4.4.0 | Введена. |
Где вызывается хук
oembed_discovery_links
wp-includes/embed.php 353
echo apply_filters( 'oembed_discovery_links', $output );