WordPress at Your Fingertips
function is not described

WC_Settings_Products::get_own_sections() protected WC 1.0

Get own sections.

{} It's a method of the class: WC_Settings_Products{}

No Hooks.

Return

Array.

Usage

// protected - for code of main (parent) or child class
$result = $this->get_own_sections();

Code of WC_Settings_Products::get_own_sections() WC 5.9.0

protected function get_own_sections() {
	return array(
		''             => __( 'General', 'woocommerce' ),
		'inventory'    => __( 'Inventory', 'woocommerce' ),
		'downloadable' => __( 'Downloadable products', 'woocommerce' ),
	);
}