New and updated in 3.1.0
-
function_post_format_link()
Filters the post format term link to remove the format prefix.
-
function_post_format_get_term()
Remove the post format prefix from the name property of the term object created by get_term().
-
function_post_format_get_terms()
Remove the post format prefix from the name property of the term objects created by get_terms().
-
functionget_post_format()
Retrieve the format slug for a post
-
Remove the post format prefix from the name property of the term objects created by wp_get_object_terms().
-
functionhas_post_format()
Check if a post has any of the given formats, or any format.
-
functionset_post_format()
Assign a format to a post
-
functionget_post_format_strings()
Returns an array of post format slugs to their translated and pretty display versions
-
functionget_post_format_slugs()
Retrieves the array of post format slugs.
-
functionget_post_format_string()
Returns a pretty, translated version of a post format slug
-
functionget_post_format_link()
Returns a link to a post format index.
-
hookmature_blog
Fires when the ‘mature’ status is added to a site.
-
hookunmature_blog
Fires when the ‘mature’ status is removed from a site.
-
Retrieves a media item by ID.
-
Retrieves a collection of media library items (or attachments).
-
Retrieves a list of post formats used by the site.
-
methodwpdb::init_charset()
Sets $this->charset and $this->collate.
-
methodwpdb::set_charset()
Sets the connection’s character set.
-
classWP_Comment_Query
Core class used for querying comments.
-
Sets up the WordPress query for retrieving comments.
-
hookpre_get_comments
Fires before comments are retrieved.
-
hookcomments_clauses
Filters the comment query clauses.
-
hookthe_comments
Filters the comment query results.
-
Used internally to generate an SQL string for searching across multiple columns.
-
Filters the current commenter’s name, email, and URL.