WPDev.one
Core Function
View Source on Trac ↗

get_enclosed()

get_enclosed( mixed $post_id )

Retrieves enclosures already enclosed for a post.

Parameters 1 required

Name / Type Description
$post_id
int

Post ID.

Required

Return Value

(string[])
Array of enclosures for the given post.

Function Information

Since Version
1.5.0
Source File
wp-includes/post.php
Advertisement