W3cubDocs

/WordPress

apply_filters( 'post_embed_url', string $embed_url, WP_Post $post )

Filters the URL to embed a specific post.

Parameters

$embed_url

(string) The post embed URL.

$post

(WP_Post) The corresponding post object.

Source

File: wp-includes/embed.php

View on Trac

Changelog

Version Description
4.4.0 Introduced.

© 2003–2019 WordPress Foundation
Licensed under the GNU GPLv2+ License.
https://developer.wordpress.org/reference/hooks/post_embed_url