wp_oembed_add_provider
wp_oembed_add_provider ( $format, $provider, $regex = false )
Parameters:- (string) format The format of URL that this provider can handle. You can use asterisks as wildcards.
- (string) provider The URL to the oEmbed provider.
- (bool) regex Optional. Whether the `$format` parameter is in a RegEx format. Default false.
See:Defined at: - Introduced in WordPress: 2.9.0
- Deprecated in WordPress: —
Description
Adds a URL format and oEmbed provider URL pair.