Switch language

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




_usort_terms_by_name [ WordPress Function ]

_usort_terms_by_name ( $a, $b )
Access:
  • private
Parameters:
  • (object) $a
  • (object) $b
Returns:
  • (int)
Defined at:



Sort categories by name.

Used by usort() as a callback, should not be used directly. Can actually be used to sort any term object.

Source


<?php
function _usort_terms_by_name$a$b ) {
    return 
strcmp$a->name$b->name );
}
?>

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