New and updated in 4.2.0
-
functionis_page_template()
Determines whether the current post uses a page template.
-
functionwp_dropdown_pages()
Retrieves or displays a list of pages as a dropdown (select list).
-
functionget_post_class()
Retrieves an array of the class names for the post container element.
-
functiongallery_shortcode()
Builds the Gallery shortcode output.
-
hookpost_gallery
Filters the default gallery shortcode output.
-
hookpost_playlist
Filters the playlist output.
-
functionwp_attachment_is_image()
Determines whether an attachment is an image.
-
functionwp_insert_post()
Inserts or updates a post in the database.
-
functioncomment_form()
Outputs a complete commenting form for use within a template.
-
Sets up the WordPress query for retrieving comments.