WP_Theme::_check_headers_property_has_correct_type( $headers )

This function’s access is marked private. This means it is not intended for use by plugin or theme developers, only by core. It is listed here for completeness.

Source

	return strnatcasecmp( $a->headers['Name'], $b->headers['Name'] );
}

/**
 * Callback function for usort() to naturally sort themes by translated name.
 *
 * @since 3.4.0
 *
 * @param WP_Theme $a First theme.
 * @param WP_Theme $b Second theme.
 * @return int Negative if `$a` falls lower in the natural order than `$b`. Zero if they fall equally.

User Contributed Notes

You must log in before being able to contribute a note or feedback.