On this page
apply_filters( 'get_enclosed', string[] $pung, int $post_id )
Filters the list of enclosures already enclosed for the given post.
Parameters
$pungstring[]-
Array of enclosures for the given post.
$post_idint-
Post ID.
Source
File: wp-includes/post.php. View all references
return apply_filters( 'get_enclosed', $pung, $post_id );
Related
Used By
| Used By | Description |
|---|---|
| get_enclosed() wp-includes/post.php | Retrieves enclosures already enclosed for a post. |
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