Opens in a new tab
A picture of Jeff Brigman
I CODE TODAY FOR
A BETTER TOMORROW

Glossary Term

do_enclose()

3 tags 1 category

do_enclose() — Checks 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.

Inputs: $content (string|null): Post content. If null, the post_content field from $post is used. $post (int|WP_Post): Post ID or post object.

Returns void|false: Void on success, false if the post is not found.

Term Connections

Explore related terms connected by shared tags, shared categories, and relationship phrases. This map loads only when it comes into view.

Loading term connections…