oembed_providers WordPress Filter Hook

The oembed_providers hook allows you to specify additional oEmbed providers for your WordPress site. This is useful if you want to include content from a site that is not already supported by WordPress.

apply_filters( 'oembed_providers', array[] $providers ) #

Filters the list of sanctioned oEmbed providers.


Description

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

Supported providers:

ProviderFlavorSince
Dailymotiondailymotion.com2.9.0
Flickrflickr.com2.9.0
Scribdscribd.com2.9.0
Vimeovimeo.com2.9.0
WordPress.tvwordpress.tv2.9.0
YouTubeyoutube.com/watch2.9.0
Crowdsignalpolldaddy.com3.0.0
SmugMugsmugmug.com3.0.0
YouTubeyoutu.be3.0.0
Twittertwitter.com3.4.0
Slideshareslideshare.net3.5.0
SoundCloudsoundcloud.com3.5.0
Dailymotiondai.ly3.6.0
Flickrflic.kr3.6.0
Spotifyspotify.com3.6.0
Imgurimgur.com3.9.0
Meetup.commeetup.com3.9.0
Meetup.commeetu.ps3.9.0
Animotoanimoto.com4.0.0
Animotovideo214.com4.0.0
Issuuissuu.com4.0.0
Mixcloudmixcloud.com4.0.0
Crowdsignalpoll.fm4.0.0
TEDted.com4.0.0
YouTubeyoutube.com/playlist4.0.0
Tumblrtumblr.com4.2.0
Kickstarterkickstarter.com4.2.0
Kickstarterkck.st4.2.0
Cloudupcloudup.com4.3.0
ReverbNationreverbnation.com4.4.0
VideoPressvideopress.com4.4.0
Redditreddit.com4.4.0
Speaker Deckspeakerdeck.com4.4.0
Twittertwitter.com/timelines4.5.0
Twittertwitter.com/moments4.5.0
Twittertwitter.com/user4.7.0
Twittertwitter.com/likes4.7.0
Twittertwitter.com/lists4.7.0
Screencastscreencast.com4.8.0
Amazonamazon.com (com.mx, com.br, ca)4.9.0
Amazonamazon.de (fr, it, es, in, nl, ru, co.uk)4.9.0
Amazonamazon.co.jp (com.au)4.9.0
Amazonamazon.cn4.9.0
Amazona.co4.9.0
Amazonamzn.to (eu, in, asia)4.9.0
Amazonz.cn4.9.0
Someecardssomeecards.com4.9.0
Someecardssome.ly4.9.0
Crowdsignalsurvey.fm5.1.0
TikToktiktok.com5.4.0
Pinterestpinterest.com5.9.0
WolframCloudwolframcloud.com5.9.0

No longer supported providers:

ProviderFlavorSinceRemoved
Qikqik.com2.9.03.9.0
Viddlerviddler.com2.9.04.0.0
Revision3revision3.com2.9.04.2.0
Blipblip.tv2.9.04.4.0
Rdiordio.com3.6.04.4.1
Rdiord.io3.6.04.4.1
Vinevine.co4.1.04.9.0
Photobucketphotobucket.com2.9.05.1.0
Funny or Diefunnyordie.com3.0.05.1.0
CollegeHumorcollegehumor.com4.0.05.3.1
Huluhulu.com2.9.05.5.0
Instagraminstagram.com3.5.05.5.2
Instagraminstagr.am3.5.05.5.2
Instagram TVinstagram.com5.1.05.5.2
Instagram TVinstagr.am5.1.05.5.2
Facebookfacebook.com4.7.05.5.2

Top ↑

See also


Top ↑

Parameters

$providers

(array[])An array of arrays containing data about popular oEmbed providers.


Top ↑

Source

File: wp-includes/class-wp-oembed.php

View on Trac



Top ↑

Changelog

Changelog
VersionDescription
2.9.0Introduced.

The content displayed on this page has been created in part by processing WordPress source code files which are made available under the GPLv2 (or a later version) license by theĀ Free Software Foundation. In addition to this, the content includes user-written examples and information. All material is subject to review and curation by the WPPaste.com community.