WordPress.org

Codex

Interested in functions, hooks, classes, or methods? Check out the new WordPress Code Reference!

Function Reference/get enclosed

Description

Retrieve enclosures already enclosed for a post.

Usage

<?php get_enclosed$post_id ?>

Parameters

$post_id
(integer) (required) Post ID.
Default: None

Return Values

(array) 
List of enclosures.

Examples

Notes

Change Log

Since: 1.5.0

Source File

get_enclosed() is located in wp-includes/post.php.

Related

See also index of Function Reference and index of Template Tags.