apply_filters( 'enclosure_links', array $post_links, int $post_ID )

Filters the list of enclosure links before querying the database.


Description

Allows for the addition and/or removal of potential enclosures to save to postmeta before checking the database for existing enclosures.


Parameters

$post_links

(array) An array of enclosure links.

$post_ID

(int) Post ID.


Source

File: wp-includes/functions.php

View on GitHub



Changelog

Changelog
Version Description
WP-4.4.0 Introduced.