Core Function
View Source on Trac ↗ get_post_format_slugs()
get_post_format_slugs( ) Retrieves the array of post format slugs.
Return Value
(string[])
The array of post format slugs as both keys and values.
Function Information
Since Version
3.1.0
Source File
wp-includes/post-formats.php
Advertisement