apply_filters( ‘post_embed_url’, string $embed_url, WP_Post $post )

In this article

Filters the URL to embed a specific post.

Parameters

$embed_urlstring
The post embed URL.
$postWP_Post
The corresponding post object.

Source

return sanitize_url( apply_filters( 'post_embed_url', $embed_url, $post ) );

Changelog

VersionDescription
4.4.0Introduced.

User Contributed Notes

You must log in before being able to contribute a note or feedback.