wpseek.com
Un motore di ricerca WordPress per sviluppatori e autori di temi



get_post_format_slugs › WordPress Function

Da3.1.0
Deprecaton/a
get_post_format_slugs ( Nessun parametro )
Ritorna:
  • (string[]) The array of post format slugs as both keys and values.
Definito a:
Codex:

Retrieves the array of post format slugs.



Sorgenti

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