WordPress.org

Ready to get started?Download WordPress

Codex

Function Reference/get enclosed

Contents

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.