wpseek.com
A WordPress-centric search engine for devs and theme authors
wp-includes/post-formats.php › WordPress File
Functions12
› Post format functions.
Function | Short description |
---|---|
get_post_format | Retrieve the format slug for a post |
get_post_format_link | Returns a link to a post format index. |
get_post_format_slugs | Retrieves the array of post format slugs. |
get_post_format_string | Returns a pretty, translated version of a post format slug |
get_post_format_strings | Returns an array of post format slugs to their translated and pretty display versions |
has_post_format | Check if a post has any of the given formats, or any format. |
set_post_format | Assign a format to a post |
_post_format_get_term | Remove the post format prefix from the name property of the term object created by get_term(). |
_post_format_get_terms | Remove the post format prefix from the name property of the term objects created by get_terms(). |
_post_format_link | Filters the post format term link to remove the format prefix. |
_post_format_request | Filters the request to allow for the format prefix. |
_post_format_wp_get_object_terms | Remove the post format prefix from the name property of the term objects created by wp_get_object_terms(). |