wpseek.com
Outil de recherche WordPress pour les développeurs et auteurs de thèmes



get_post_format_slugs › WordPress Function

Depuis3.1.0
Dépréciéen/a
get_post_format_slugs ( Pas de paramètres )
Retourne:
  • (string[]) The array of post format slugs as both keys and values.
Défini(e) dans:
Codex:

Retrieves the array of post format slugs.



Source

function get_post_format_slugs() {
	$slugs = array_keys( get_post_format_strings() );
	return array_combine( $slugs, $slugs );
}