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
This commit is contained in:
parent
21ea69a1d7
commit
23339857e5
@ -5061,6 +5061,14 @@ function get_post_format_strings() {
|
|||||||
return $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() {
|
function get_post_format_slugs() {
|
||||||
$slugs = array(
|
$slugs = array(
|
||||||
'standard' => _x( 'standard', 'Post format slug' ),
|
'standard' => _x( 'standard', 'Post format slug' ),
|
||||||
|
Loading…
Reference in New Issue
Block a user