do_enclose
do_enclose ( $content, $post_ID )
Parameters:- (string) $content Post Content
- (int) $post_ID Post ID
Uses:Defined at: - Introduced in WordPress: 1.5.0
- Deprecated in WordPress: -
Description
Check content for video and audio links to add as enclosures.
Will not add enclosures that have already been added and will
remove enclosures that are no longer in the post. This is called as
pingbacks and trackbacks.