embed_html

Advertisement

Summery Summery

Filters the embed HTML output for a given post.

Syntax Syntax

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

Parameters Parameters

$output

(string) The default iframe tag to display embedded content.

$post

(WP_Post) Current post object.

$width

(int) Width of the response.

$height

(int) Height of the response.

Source Source

File: wp-includes/embed.php

Advertisement

Changelog Changelog

Changelog
Version Description
4.4.0 Introduced.

Advertisement

Leave a Reply