• About WordPress
    • About WordPress
    • WordPress.org
    • Documentation
    • Support
    • Feedback
  • Log In
  • Register
WordPress.org
WordPress.org
  • Plugins
  • Themes
  • Patterns
  • Learn
  • Support
    • Documentation
    • Forums
  • News
  • About
  • Get Involved
    • Five for the Future
  • Showcase
  • Mobile
  • Hosting
  • Openverse
  • Get WordPress
Get WordPress

Code Reference

Skip to content
Filter by type:
Search
Browse: Home / Reference / wp-includes/post-formats.php

_post_format_request()

Function: Filters the request to allow for the format prefix.

Source: wp-includes/post-formats.php:166

Used by 0 functions | Uses 3 functions

_post_format_link()

Function: Filters the post format term link to remove the format prefix.

Source: wp-includes/post-formats.php:194

Used by 0 functions | Uses 3 functions

_post_format_get_term()

Function: Remove the post format prefix from the name property of the term object created by get_term().

Source: wp-includes/post-formats.php:216

Used by 0 functions | Uses 1 function

_post_format_get_terms()

Function: Remove the post format prefix from the name property of the term objects created by get_terms().

Source: wp-includes/post-formats.php:234

Used by 0 functions | Uses 1 function

get_post_format()

Function: Retrieve the format slug for a post

Source: wp-includes/post-formats.php:17

Used by 10 functions | Uses 3 functions

_post_format_wp_get_object_terms()

Function: Remove the post format prefix from the name property of the term objects created by wp_get_object_terms().

Source: wp-includes/post-formats.php:260

Used by 0 functions | Uses 1 function

has_post_format()

Function: Check if a post has any of the given formats, or any format.

Source: wp-includes/post-formats.php:49

Used by 0 functions | Uses 2 functions

set_post_format()

Function: Assign a format to a post

Source: wp-includes/post-formats.php:70

Used by 8 functions | Uses 6 functions

get_post_format_strings()

Function: Returns an array of post format slugs to their translated and pretty display versions

Source: wp-includes/post-formats.php:96

Used by 6 functions | Uses 1 function

get_post_format_slugs()

Function: Retrieves the array of post format slugs.

Source: wp-includes/post-formats.php:119

Used by 5 functions | Uses 1 function

get_post_format_string()

Function: Returns a pretty, translated version of a post format slug

Source: wp-includes/post-formats.php:132

Used by 8 functions | Uses 1 function

get_post_format_link()

Function: Returns a link to a post format index.

Source: wp-includes/post-formats.php:149

Used by 2 functions | Uses 3 functions
  • About
  • News
  • Hosting
  • Donate
  • Support
  • Developers
  • Get Involved
  • Learn
  • Showcase
  • Plugins
  • Themes
  • Patterns
  • WordCamp
  • WordPress.TV
  • BuddyPress
  • bbPress
  • WordPress.com
  • Matt
  • Privacy
  • Public Code
WordPress.org
WordPress.org
  • Visit our Facebook page
  • Visit our Twitter account
Code is Poetry