Switch language

wpseek.com
A WordPress-centric search engine for devs and theme authors




get_post_format_strings [ WordPress Function ]

get_post_format_strings ( No parameters )
Returns:
  • (array) The array of translations
Defined at:



Returns an array of post format slugs to their translated and pretty display versions

Source


<?php
function get_post_format_strings() {
    
$strings = array(
        
'standard' => _x'Standard''Post format' ), // Special case. any value that evals to false will be considered standard
        
'aside'    => _x'Aside',    'Post format' ),
        
'chat'     => _x'Chat',     'Post format' ),
        
'gallery'  => _x'Gallery',  'Post format' ),
        
'link'     => _x'Link',     'Post format' ),
        
'image'    => _x'Image',    'Post format' ),
        
'quote'    => _x'Quote',    'Post format' ),
        
'status'   => _x'Status',   'Post format' ),
        
'video'    => _x'Video',    'Post format' ),
        
'audio'    => _x'Audio',    'Post format' ),
    );
    return 
$strings;
}
?>

Examples [ wp-snippets.com ]

Google Arama Sonuçlarý

Dahasý ...

Kullanýcý Tartýþmalarý [ wordpress.org ]

- Bulunamadý -

Yeni bir konu yaz ...

0 User Note(s)

Henüz yok. Ýlk sen ol!

Yeni Ekle ...



HTML5 Powered with CSS3 / Styling, Performance & Integration, and Semantics