Switch language

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




_post_format_get_term [ WordPress Function ]

_post_format_get_term ( $term )
Access:
  • private
Defined at:



Remove the post format prefix from the name property of the term object created by get_term().

Source


<?php
function _post_format_get_term$term ) {
    if ( isset( 
$term->slug ) ) {
        
$term->name get_post_format_stringstr_replace'post-format-'''$term->slug ) );
    }
    return 
$term;
}
?>

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