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_formatRetrieve the format slug for a post
get_post_format_linkReturns a link to a post format index.
get_post_format_slugsRetrieves the array of post format slugs.
get_post_format_stringReturns a pretty, translated version of a post format slug
get_post_format_stringsReturns an array of post format slugs to their translated and pretty display versions
has_post_formatCheck if a post has any of the given formats, or any format.
set_post_formatAssign a format to a post
_post_format_get_termRemove the post format prefix from the name property of the term object created by get_term().
_post_format_get_termsRemove the post format prefix from the name property of the term objects created by get_terms().
_post_format_linkFilters the post format term link to remove the format prefix.
_post_format_requestFilters the request to allow for the format prefix.
_post_format_wp_get_object_termsRemove the post format prefix from the name property of the term objects created by wp_get_object_terms().