Automattic\WooCommerce\Internal\Admin\ProductForm

FormFactory::get_subsections()public staticWC 1.0

Returns list of registered cards.

Method of the class: FormFactory{}

No Hooks.

Return

Array. list of registered cards.

Usage

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

FormFactory::get_subsections() code WC 8.6.1

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