WC_Settings_Products::get_own_sections
Get own sections.
Method of the class: WC_Settings_Products{}
No Hooks.
Returns
Array.
Usage
// protected - for code of main (parent) or child class $result = $this->get_own_sections();
WC_Settings_Products::get_own_sections() WC Settings Products::get own sections code WC 10.5.0
protected function get_own_sections() {
return array(
'' => __( 'General', 'woocommerce' ),
'inventory' => __( 'Inventory', 'woocommerce' ),
'downloadable' => __( 'Downloadable products', 'woocommerce' ),
);
}