WordPress Hooks Explorer

Listing all hooks extracted WordPress Core


Details about enclosure_links

Back to home

Files

Filename Hook Type Line Number PHP Doc
wp-includes/functions.php apply_filters 939 /**
* Filters the list of enclosure links before querying the database.
*
* Allows for the addition and/or removal of potential enclosures to save
* to postmeta before checking the database for existing enclosures.
*
* @since 4.4.0
*
* @param string[] $post_links An array of enclosure links.
* @param int $post_ID Post ID.
*/

Hook Parameters

Parameter Type Name Description
string[] $post_links An array of enclosure links.
int $post_ID Post ID.