[Manual] WordPress Function Reference (Function Reference)
Function Reference Function Reference, Function Reference Directory: 1. Post, Page, Attachment and Bookmarks Functions Functions for articles, pages, attachments and links-Posts, Post insertion/removal…
Function Reference
Function reference directory:
Functions by category
1. Post, Page, Attachment and Bookmarks Functions Post, Page, Attachment and Bookmarks Functions
-
get_adjacent_post
Return an array of information about adjacent posts, see: http://codex.wordpress.org/Function_Reference/get_adjacent_post .
-
get_children
Retrieving information such as attachments, versions, child pages, etc., is usually executed by the parent article. For details, see: http://codex.wordpress.org/Function_Reference/get_children .
-
get_extended
Get an array of posts divided by more tags. $post is the content of the post
-
get_next_post
Get information about the next adjacent article.
-
get_post
Returns the information array or object of a single post. $id is the post id. Note that only variables can be used here. For details, see: http://codex.wordpress.org/Function_Reference/get_post .
-
get_post_ancestors
Returns the information array of the parent article based on the article ID.
-
get_post_mime_type
Returns the method type information based on the attachment ID.
-
get_post_status
Returns the status of the article based on the article ID.
-
get_post_type
Returns the article type based on the article ID.
-
get_previous_post
Return the information of the previous neighboring article.
-
get_posts
Get a collection of a series of articles, see: http://codex.wordpress.org/Template_Tags/get_posts .
-
is_post
Deprecated.
-
is_single
Determine whether the specified single log.
-
is_sticky
Determine whether the article is topped.
-
register_post_type
Register the post type, see http://codex.wordpress.org/Function_Reference/register_post_type for details .
-
wp_get_recent_posts
Returns an array of recently published articles.
-
wp_get_single_post
Returns an array or object of a single post, same as get_post().
-
wp_delete_post
Delete articles, pages or attachments. When $force_delete is true, it will not go through the recycle bin.
-
wp_insert_post
To publish an article or page, see: http://codex.wordpress.org/Function_Reference/wp_insert_post .
-
wp_publish_post
Publish an article by changing the status
-
wp_update_post
Update an article, see: http://codex.wordpress.org/Function_Reference/wp_update_post .