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:
  • WP_oEmbed
Defined at:

Description

Adds a URL format and oEmbed provider URL pair.

Related Functions

wp_oembed_remove_provider, wp_embed_handler_video, wp_oembed_add_discovery_links, wp_oembed_add_host_js, wp_embed_handler_googlevideo

Top Google Results

User discussions

wpseek mobile