A WordPress-centric search engine for devs and theme authors



_sort_uname_callback ›

Since3.1.0
Deprecatedn/a
_sort_uname_callback ( $a, $b )
Access:
  • private
Defined at:
Codex:

Callback to sort array by a 'Name' key.



Source

function _sort_uname_callback( $a, $b ) {
	return strnatcasecmp( $a['Name'], $b['Name'] );
}