WordPress.org

Ready to get started?Download WordPress

Codex

Function Reference/do enclose

Contents

Description

Check content for video and audio links to add as enclosures.

Will not add enclosures that have already been added.

Usage

<?php do_enclose$content$post_ID ?>

Parameters

$content
(string) (required) Post Content
Default: None
$post_ID
(integer) (required) Post ID
Default: None

Return Values

(void) 
This function does not return a value.

Examples

Notes


Change Log

Since: 1.5.0

Source File

do_enclose() is located in wp-includes/functions.php.

Related

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