apply_filters( ’embed_html’, string $output, WP_Post $post, int $width, int $height )

In this article

Filters the embed HTML output for a given post.

Parameters

$outputstring
The default iframe tag to display embedded content.
$postWP_Post
Current post object.
$widthint
Width of the response.
$heightint
Height of the response.

Source

return apply_filters( 'embed_html', $output, $post, $width, $height );

Changelog

VersionDescription
4.4.0Introduced.

User Contributed Notes

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