Automattic\WooCommerce\Internal\Admin\ProductForm

FormFactory::get_subsectionspublic staticWC 1.0

Returns list of registered cards.

Метод класса: FormFactory{}

Хуков нет.

Возвращает

Массив. list of registered cards.

Использование

$result = FormFactory::get_subsections( $sort_by, foooo, ) );
$sort_by(массив)
key and order to sort by.
По умолчанию: array( foo
foooo
.
По умолчанию: > fooooo
)(обязательный)
.

Код FormFactory::get_subsections() WC 10.4.0

public static function get_subsections( $sort_by = array(
	'key'   => 'order',
	'order' => 'asc',
) ) {
	return self::get_items( 'subsection', 'Subsection', $sort_by );
}