WordPress как на ладони
Недорогой хостинг для сайтов на WordPress: wordpress.jino.ru Купить персональные IPV4 и IPV6 прокси
фильтр не описан

oembed_providers хук-фильтр . WP 2.9.0

Filters the list of whitelisted oEmbed providers.

Since WordPress 4.4, oEmbed discovery is enabled for all users and allows embedding of sanitized iframes. The providers in this list are whitelisted, meaning they are trusted and allowed to embed any content, such as iframes, videos, JavaScript, and arbitrary HTML.

Supported providers:

Provider Flavor Supports HTTPS Since
Dailymotion dailymotion.com Yes 2.9.0
Flickr flickr.com Yes 2.9.0
Hulu hulu.com Yes 2.9.0
Scribd scribd.com Yes 2.9.0
Vimeo vimeo.com Yes 2.9.0
WordPress.tv wordpress.tv Yes 2.9.0
YouTube youtube.com/watch Yes 2.9.0
Crowdsignal polldaddy.com Yes 3.0.0
SmugMug smugmug.com Yes 3.0.0
YouTube youtu.be Yes 3.0.0
Twitter twitter.com Yes 3.4.0
Instagram instagram.com Yes 3.5.0
Instagram instagr.am Yes 3.5.0
Slideshare slideshare.net Yes 3.5.0
SoundCloud soundcloud.com Yes 3.5.0
Dailymotion dai.ly Yes 3.6.0
Flickr flic.kr Yes 3.6.0
Spotify spotify.com Yes 3.6.0
Imgur imgur.com Yes 3.9.0
Meetup.com meetup.com Yes 3.9.0
Meetup.com meetu.ps Yes 3.9.0
Animoto animoto.com Yes 4.0.0
Animoto video214.com Yes 4.0.0
CollegeHumor collegehumor.com Yes 4.0.0
Issuu issuu.com Yes 4.0.0
Mixcloud mixcloud.com Yes 4.0.0
Crowdsignal poll.fm Yes 4.0.0
TED ted.com Yes 4.0.0
YouTube youtube.com/playlist Yes 4.0.0
Tumblr tumblr.com Yes 4.2.0
Kickstarter kickstarter.com Yes 4.2.0
Kickstarter kck.st Yes 4.2.0
Cloudup cloudup.com Yes 4.3.0
ReverbNation reverbnation.com Yes 4.4.0
VideoPress videopress.com Yes 4.4.0
Reddit reddit.com Yes 4.4.0
Speaker Deck speakerdeck.com Yes 4.4.0
Twitter twitter.com/timelines Yes 4.5.0
Twitter twitter.com/moments Yes 4.5.0
Facebook facebook.com Yes 4.7.0
Twitter twitter.com/user Yes 4.7.0
Twitter twitter.com/likes Yes 4.7.0
Twitter twitter.com/lists Yes 4.7.0
Screencast screencast.com Yes 4.8.0
Amazon amazon.com (com.mx, com.br, ca) Yes 4.9.0
Amazon amazon.de (fr, it, es, in, nl, ru, co.uk) Yes 4.9.0
Amazon amazon.co.jp (com.au) Yes 4.9.0
Amazon amazon.cn Yes 4.9.0
Amazon a.co Yes 4.9.0
Amazon amzn.to (eu, in, asia) Yes 4.9.0
Amazon z.cn Yes 4.9.0
Someecards someecards.com Yes 4.9.0
Someecards some.ly Yes 4.9.0
Crowdsignal survey.fm Yes 5.1.0
Instagram TV instagram.com Yes 5.1.0
Instagram TV instagr.am Yes 5.1.0

No longer supported providers:

Provider Flavor Supports HTTPS Since Removed
Qik qik.com Yes 2.9.0 3.9.0
Viddler viddler.com Yes 2.9.0 4.0.0
Revision3 revision3.com No 2.9.0 4.2.0
Blip blip.tv No 2.9.0 4.4.0
Rdio rdio.com Yes 3.6.0 4.4.1
Rdio rd.io Yes 3.6.0 4.4.1
Vine vine.co Yes 4.1.0 4.9.0
Photobucket photobucket.com No 2.9.0 5.1.0
Funny or Die funnyordie.com Yes 3.0.0 5.1.0


add_filter( 'oembed_providers', 'filter_function_name_2165' );
function filter_function_name_2165( $providers ){
	// filter...

	return $providers;
An array of arrays containing data about popular oEmbed providers.

Список изменений

С версии 2.9.0 Введена.

Где вызывается хук

wp-includes/class-oembed.php 221
$this->providers = apply_filters( 'oembed_providers', $providers );

Где используется хук (в ядре WP)

Использование не найдено.