WordPress at a glance
function is not described

_usort_terms_by_name() WP 2.3.0

Deprecated from version 4.7.0. It is no longer supported and can be removed in future releases. Use wp_list_sort() instead.

Sort categories by name.

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

This is an internal function for using it by WP core itself. It's not recommended to use this function in your code.

No Hooks.

Return

Int. Null. Nothing.

Usage

_usort_terms_by_name( $a, $b );
$a(object) (required)
-
$b(object) (required)
-

Changelog

Since 2.3.0 Introduced.
Deprecated Since 4.7.0 Use wp_list_sort()

Code of _usort_terms_by_name() WP 5.7

<?php
function _usort_terms_by_name( $a, $b ) {
	_deprecated_function( __FUNCTION__, '4.7.0', 'wp_list_sort()' );

	return strcmp( $a->name, $b->name );
}