常用函数-wp_get_attachment_url() 常用函数-wp_get_attachment_url() 常用函数-wp_get_attachment_url() 说明 返回附件文件的完整URI,出错则返回false... 最后更新 2022.03.26
常用函数-wp_get_attachment_thumb_url() 常用函数-wp_get_attachment_thumb_url() 常用函数-wp_get_attachment_thumb_url() 说明 检索附件缩略图的URL 用法 &l... 最后更新 2022.03.26
常用函数-wp_count_posts() 常用函数-wp_count_posts() 常用函数-wp_count_posts() 说明 该函数在WordPress 2.5版本中被引入,函数输出每篇... 最后更新 2022.03.26
常用函数-wp_check_for_changed_slugs() 常用函数-wp_check_for_changed_slugs() 常用函数-wp_check_for_changed_slugs() 说明 检查已发表文章中经改动的缩略名并保存... 最后更新 2022.03.26
常用函数-wp_mime_type_icon() 常用函数-wp_mime_type_icon() 常用函数-wp_mime_type_icon() 说明 检索MIME类型的图标 用法 <?php wp_... 最后更新 2022.03.26
常用函数-wp_update_attachment_metadata() 常用函数-wp_update_attachment_metadata() 常用函数-wp_update_attachment_metadata() 说明 更新附件的metadata。 ... 最后更新 2022.03.26
常用函数-wp_set_post_categories() 常用函数-wp_set_post_categories() 常用函数-wp_set_post_categories() 说明 设置文章分类。 未设置文章分类参数时使用默认... 最后更新 2022.03.26
常用函数-add_meta_box() 常用函数-add_meta_box() 常用函数-add_meta_box() 说明 add_meta_box在WordPress 2.5版本中被引入... 最后更新 2022.03.26
常用函数-wp_get_post_categories() 常用函数-wp_get_post_categories() 常用函数-wp_get_post_categories() 说明 检索文章的类型列表。 主题和插件兼容层,也是... 最后更新 2022.03.26
常用函数-wp_trim_excerpt() 常用函数-wp_trim_excerpt() 常用函数-wp_trim_excerpt() 说明 必要时为文章生成内容摘要。 摘要应在55字以内,如果总字数... 最后更新 2022.03.26
常用函数-get_the_content() 常用函数-get_the_content() 常用函数-get_the_content() 说明 检索文章内容。 用法 <?php get_the_c... 最后更新 2022.03.26
常用函数-get_category() 常用函数-get_category() 常用函数-get_category() 说明 按已知类别编号或类别对象检索类别数据。 将检索数据库的类别行对象... 最后更新 2022.03.26
常用函数-get_categories() 常用函数-get_categories() 常用函数-get_categories() 说明 返回与查询参数相匹配的类别对象数组。 变量与wp_list_... 最后更新 2022.03.26
常用函数-get_all_category_ids() 常用函数-get_all_category_ids() 常用函数-get_all_category_ids() 说明 检索所有类别编号。 用法 <?php ge... 最后更新 2022.03.26
常用函数-cat_is_ancestor_of() 常用函数-cat_is_ancestor_of() 常用函数-cat_is_ancestor_of() 说明 这是一个简单函数,用于评定某个类别是否是另一个类别的... 最后更新 2022.03.26
常用函数-get_cat_name() 常用函数-get_cat_name() 常用函数-get_cat_name() 说明 按类别编号检索其名称。 用法 <?php get_cat_... 最后更新 2022.03.26
常用函数-get_cat_ID() 常用函数-get_cat_ID() 常用函数-get_cat_ID() 说明 按名称检索类别编号。 用法 <?php get_cat_ID(... 最后更新 2022.03.26
常用函数-get_category_by_path() 常用函数-get_category_by_path() 常用函数-get_category_by_path() 说明 按含有类别缩略名的URL检索类别。 解析$cat... 最后更新 2022.03.26
常用函数-get_tag() 常用函数-get_tag() 常用函数-get_tag() 说明 按标签(tag)编号或标签对象检索文章标签。 传递一个检索数据库的标签行对... 最后更新 2022.03.26
常用函数-get_tags() 常用函数-get_tags() 常用函数-get_tags() 该函数取自 get_terms的taxonomy.php文件中的notes,并... 最后更新 2022.03.26