常用函数-get_post_mime_type() 常用函数-get_post_mime_type() 常用函数-get_post_mime_type() 说明 按ID编号检索附件的mime类型。 该函数可用于任何... 最后更新 2022.03.26
常用函数-get_post_type() 常用函数-get_post_type() 常用函数-get_post_type() 说明 检索目前文章或给定文章的文章类型。 用法 <?php g... 最后更新 2022.03.26
常用函数-get_children() 常用函数-get_children() 常用函数-get_children() get_children( )检索附件、版本、子页面等信息,一般情况下... 最后更新 2022.03.26
常用函数-get_extended() 常用函数-get_extended() 常用函数-get_extended() 说明 获取扩展项信息 ( <!–more–> ). 第二个... 最后更新 2022.03.26
常用函数-wp_get_recent_posts() 常用函数-wp_get_recent_posts() 常用函数-wp_get_recent_posts() 说明 按发表时间检索数据库中的$num最新发表文章。默认... 最后更新 2022.03.26
常用函数-wp_get_single_post() 常用函数-wp_get_single_post() 常用函数-wp_get_single_post() 说明 按文章编号检索某篇文章。 用法 <?php w... 最后更新 2022.03.26
常用函数-wp_delete_post() 常用函数-wp_delete_post() 常用函数-wp_delete_post() 说明 根据文章编号删除文章 用法 <?php wp_dele... 最后更新 2022.03.26
常用函数-wp_insert_post() 常用函数-wp_insert_post() 常用函数-wp_insert_post() 说明 该函数可在数据库中插入文章(及页面)。它可以进行处理变量,检... 最后更新 2022.03.26
常用函数-wp_update_post() 常用函数-wp_update_post() 常用函数-wp_update_post() 说明 该函数更新数据库中的文章。如希望函数正常运行,需传递将被更新... 最后更新 2022.03.26
常用函数-get_all_page_ids() 常用函数-get_all_page_ids() 常用函数-get_all_page_ids() 说明 获取页面编号列表。 用法 <?php get_al... 最后更新 2022.03.26
常用函数-wp_publish_post() 常用函数-wp_publish_post() 常用函数-wp_publish_post() 说明 通过更改文章状态来发表文章。 用法 <?php wp... 最后更新 2022.03.26
常用函数-get_page_children() 常用函数-get_page_children() 常用函数-get_page_children() 说明 在编号相匹配的页面列表中检索子页面。 要与页面编号上的... 最后更新 2022.03.26
常用函数-get_page_hierarchy() 常用函数-get_page_hierarchy() 常用函数-get_page_hierarchy() 说明 get_page_hierarchy( )函数返回一... 最后更新 2022.03.26
常用函数-get_pages() 常用函数-get_pages() 常用函数-get_pages() 说明 get_pages( )函数用于获取博客中已定义页面的列表。下面是它的... 最后更新 2022.03.26
常用函数-get_page_uri() 常用函数-get_page_uri() 常用函数-get_page_uri() 说明 为页面创建URI 子页面将表现在父页面发表名称的“目录”中。 用... 最后更新 2022.03.26
常用函数-page_uri_index() 常用函数-page_uri_index() 常用函数-page_uri_index() 说明 为页面URI检索所有页面与附件。 检索以页面为父级的文章的附... 最后更新 2022.03.26
常用函数-update_post_meta() 常用函数-update_post_meta() 常用函数-update_post_meta() 说明 该函数为指定文章更新已有meta关键字(自定义)的值。 ... 最后更新 2022.03.26
常用函数-add_post_meta() 常用函数-add_post_meta() 常用函数-add_post_meta() 说明 add_post_meta为指定文章添加自定义(meta)字段... 最后更新 2022.03.26
常用函数-get_post_custom() 常用函数-get_post_custom() 常用函数-get_post_custom() 说明 返回一个多维数组,数组中含有特定文章或页面的所有自定义字段... 最后更新 2022.03.26