Automattic\WooCommerce\Internal\Admin\ProductForm

FormFactory::get_sections()public staticWC 1.0

Returns list of registered sections.

Method of the class: FormFactory{}

No Hooks.

Return

Array. list of registered sections.

Usage

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

FormFactory::get_sections() code WC 8.6.1

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