get_post_format_string [ WordPress Function ]
get_post_format_string ( $slug )
| Parameters: |
|
| Returns: |
|
| Defined at: |
|
Soorgelijke functies: get_post_format_strings, get_post_format_link, get_post_format_slugs, get_post_format, _post_format_link
Returns a pretty, translated version of a post format slug
Examples [ wp-snippets.com ]
Top Google zoekresultaten
- Function Reference/get post format string « WordPress Codex
Description. Returns a pretty, translated version of a post format slug. This can be used anywhere if slug of a post format is provided.
codex.wordpress.org - #17576 (Use get_post_format_strings() to generate - WordPress Trac
Description. Dynamically generate the array returned by get_post_format_slugs() as suggested by inline documentation in /wp-includes/post.php "3.2-early: use ...
core.trac.wordpress.org - Noodle and Meatball
function get_post_format_slugs() { $slugs = array_keys( get_post_format_strings( ) ); return array_combine( $slugs, $slugs ); } /** * Returns a pretty, translated ...
noodleandmeatball.com - get_post_format_strings | A HitchHackers guide through WordPress
Feb 24, 2011 ... function get_post_format_strings() { $strings = array( 'standard' => _x( 'Standard', ' Post format' ), // Special case. any value that evals to false ...
hitchhackerguide.com