Automattic\WooCommerce\Internal\Admin\ProductForm
FormFactory::get_tabs
Returns list of registered tabs.
Method of the class: FormFactory{}
No Hooks.
Returns
Array. list of registered tabs.
Usage
$result = FormFactory::get_tabs( $sort_by, foooo, ) );
- $sort_by(array)
- key and order to sort by.
Default:array( foo - foooo
- .
Default:> fooooo - )(required)
- .
FormFactory::get_tabs() FormFactory::get tabs code WC 10.9.1
public static function get_tabs( $sort_by = array(
'key' => 'order',
'order' => 'asc',
) ) {
return self::get_items( 'tab', 'Tab', $sort_by );
}