WC_Settings_Products::get_sections()

Get sections.


Description Description


Return Return

(array)


Top ↑

Source Source

File: includes/admin/settings/class-wc-settings-products.php

	public function get_sections() {
		$sections = array(
			''             => __( 'General', 'woocommerce' ),
			'inventory'    => __( 'Inventory', 'woocommerce' ),
			'downloadable' => __( 'Downloadable products', 'woocommerce' ),
		);

		return apply_filters( 'woocommerce_get_sections_' . $this->id, $sections );
	}


Top ↑

User Contributed Notes User Contributed Notes

You must log in before being able to contribute a note or feedback.