From 23339857e52ee51e8d5a64643236db2860fcf6de Mon Sep 17 00:00:00 2001 From: Andrew Nacin Date: Mon, 20 Dec 2010 10:22:06 +0000 Subject: [PATCH] Docs for get_post_format_slugs(). props demetris, fixes #15867. git-svn-id: https://develop.svn.wordpress.org/trunk@17073 602fd350-edb4-49c9-b593-d223f7449a82 --- wp-includes/post.php | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/wp-includes/post.php b/wp-includes/post.php index 1e31e34adf..15f5c44181 100644 --- a/wp-includes/post.php +++ b/wp-includes/post.php @@ -5061,6 +5061,14 @@ function get_post_format_strings() { return $strings; } +/** + * Retrieves an array of (translated and sanitized) post format slugs. + * + * @since 3.1.0 + * + * @uses sanitize_title_with_dashes() + * @return array The array of (translated and sanitized) post format slugs. + */ function get_post_format_slugs() { $slugs = array( 'standard' => _x( 'standard', 'Post format slug' ),