WordPress at Your Fingertips
function is not described

wc_products_array_orderby_title() WC 3.0.0

Sort by title.

No Hooks.

Return

Int.

Usage

wc_products_array_orderby_title( $a, $b );
$a(WC_Product) (required)
First WC_Product object.
$b(WC_Product) (required)
Second WC_Product object.

Changelog

Since 3.0.0 Introduced.

Code of wc_products_array_orderby_title() WC 5.5.2

<?php
function wc_products_array_orderby_title( $a, $b ) {
	return strcasecmp( $a->get_name(), $b->get_name() );
}