wphooks.info - oembed_endpoint_url

oembed_endpoint_url

(trunk - 5.1-alpha-44286)

The hook occurs in the following file:

wp-includes/embed.php:
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
	/**
	 * Filters the oEmbed endpoint URL.
	 *
	 * @since 4.4.0
	 *
	 * @param string $url       The URL to the oEmbed endpoint.
	 * @param string $permalink The permalink used for the `url` query arg.
	 * @param string $format    The requested response format.
	 */
	return apply_filters( 'oembed_endpoint_url', $url, $permalink, $format );
}

/**
 * Retrieves the embed code for a specific post.
 *
 * @since 4.4.0
 *
 * @param int         $width  The width for the response.
 * @param int         $height The height for the response.