Automattic\WooCommerce\Internal\Admin\ProductForm

FormFactory::get_sectionspublic staticWC 1.0

Returns list of registered sections.

Method of the class: FormFactory{}

No Hooks.

Returns

Array. list of registered sections.

Usage

$result = FormFactory::get_sections( $sort_by, foooo, ) );
$sort_by(array)
key and order to sort by.
Default: array( foo
foooo
.
Default: > fooooo
)(required)
.

FormFactory::get_sections() code WC 10.3.6

public static function get_sections( $sort_by = array(
	'key'   => 'order',
	'order' => 'asc',
) ) {
	return self::get_items( 'section', 'Section', $sort_by );
}