Automattic\WooCommerce\Internal\Admin\ProductForm

FormFactory::get_subsections()public staticWC 1.0

Returns list of registered cards.

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

Хуков нет.

Возвращает

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

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

$result = FormFactory::get_subsections( $sort_by = array(;

Код FormFactory::get_subsections() WC 8.7.0

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