get_oembed_endpoint_url


get_oembed_endpoint_url ( $permalink = '', $format = 'json' )

Parameters:
  • (string) permalink Optional. The permalink used for the `url` query arg. Default empty.
  • (string) format Optional. The requested response format. Default 'json'.
Returns:
  • (string) The oEmbed endpoint URL.
Defined at:

Description

Retrieves the oEmbed endpoint URL for a given permalink.Pass an empty string as the first argument to get the endpoint base URL.

Related Functions

get_oembed_response_data_for_url, get_oembed_response_data, get_post_embed_url, get_oembed_response_data_rich, is_protected_endpoint

Top Google Results

User discussions

wpseek mobile