WordPress at a glance
filter is not described

get_enclosed filter-hook . WP 2.0.0

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

Использование

add_filter( 'get_enclosed', 'filter_function_name_3979', 10, 2 );
function filter_function_name_3979( $pung, $post_id ){
	// filter...

	return $pung;
}
$pung(string[])
Array of enclosures for the given post.
$post_id(int)
Post ID.

Changelog

Since 2.0.0 Introduced.

Where the hook is called

get_enclosed()
get_enclosed
wp-includes/post.php 4931
return apply_filters( 'get_enclosed', $pung, $post_id );

Where in WP core the hook is used WordPress

Usage not found.