+ );
+ /**
+ * Filter the list of oEmbed providers.
+ *
+ * Discovery is disabled for users lacking the unfiltered_html capability.
+ * Only providers in this array will be used for those users.
+ *
+ * @see wp_oembed_add_provider()
+ *
+ * @since 2.9.0
+ *
+ * @param array $providers An array of popular oEmbed providers.
+ */
+ $this->providers = apply_filters( 'oembed_providers', $providers );