WP_Theme::_name_sort_i18n(WP_Theme$a, WP_Theme$b ): int
Since
3.4.0
Source
wp-includes/class-wp-theme.php:2163
Callback function for usort() to naturally sort themes by translated name.
Parameters
$aWP_Theme
First theme.
$bWP_Theme
Second theme.
Return
int
Negative if $a falls lower in the natural order than $b. Zero if they fall equally. Greater than 0 if $a falls higher in the natural order than $b. Used with usort().
Signature, return type and hooks compared across 5 parsed releases.
About this page
Parsed data
Generated from the wordpress-develop 7.0.4 tag, from src/wp-includes/class-wp-theme.php, and regenerated for each WordPress release so it tracks the code rather than a snapshot of it.
Corrections
Something wrong on this page? Report it and it gets fixed in the next regeneration.