Filter hook 'get_enclosed'

in WP Core File wp-includes/post.php at line 5698

Description

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

Occurrences

Filename Line Number
wp-includes/post.php 5698

Parameters

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

PHP Doc

/**
	 * Filters the list of enclosures already enclosed for the given post.
	 *
	 * @since 2.0.0
	 *
	 * @param string[] $pung    Array of enclosures for the given post.
	 * @param int      $post_id Post ID.
	 */