WordPress at a glance
filter is not described

post_embed_url filter-hook . WP 4.4.0

Filters the URL to embed a specific post.

Usage

add_filter( 'post_embed_url', 'filter_function_name_5891', 10, 2 );
function filter_function_name_5891( $embed_url, $post ){
	// filter...

	return $embed_url;
}
$embed_url(string)
The post embed URL.
$post(WP_Post)
The corresponding post object.

Where the hook is called

get_post_embed_url()
post_embed_url
wp-includes/embed.php 380
return esc_url_raw( apply_filters( 'post_embed_url', $embed_url, $post ) );

Where the hook is used (in WP core)

Does not used.