Docs for get_post_format_slugs(). props demetris, fixes #15867.
git-svn-id: http://svn.automattic.com/wordpress/trunk@17073 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
be21df74ee
commit
0bc42a98cc
|
@ -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' ),
|
||||
|
|
Loading…
Reference in New Issue