wordpress / latest / hooks / get_enclosed.html

apply_filters( 'get_enclosed', string[] $pung, int $post_id )

Filters the list of enclosures already enclosed for the given post.

Parameters

$pung string[]
Array of enclosures for the given post.
$post_id int
Post ID.

Source

File: wp-includes/post.php. View all references

return apply_filters( 'get_enclosed', $pung, $post_id );

Used By

Used By Description

Changelog

Version Description
2.0.0 Introduced.

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