首页 WordPress函数大全 atom_enclosure()

atom_enclosure()

2020-05-01 / 3849阅 / 悠然

如何你看完本文还不知道如何使用该函数,可以联系我定制视频教程,50元/个函数,学不会全额退款

atom_enclosure()

Display the atom enclosure for the current post.

描述

Uses the global $post to check whether the post requires a password and if the user has the password for the post. If not then it will return before displaying.

Also uses the function get_post_custom() to get the post’s ‘enclosure’ metadata field and parses the value to display the enclosure(s). The enclosure(s) consist of link HTML tag(s) with a URI and other attributes.

大家谈论
    我的见解