Automattic\WooCommerce\Internal\Admin\ProductForm

FormFactory::get_sections()public staticWC 1.0

Returns list of registered sections.

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

Хуков нет.

Возвращает

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

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

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

Код FormFactory::get_sections() WC 8.7.0

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