Automattic\WooCommerce\Internal\Admin\ProductForm
FormFactory::get_sections()
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() FormFactory::get sections code WC 9.7.1
public static function get_sections( $sort_by = array( 'key' => 'order', 'order' => 'asc', ) ) { return self::get_items( 'section', 'Section', $sort_by ); }