WordPress at Your Fingertips
function is not described

WC_Settings_Page::get_sections() public WC 1.0

Get all sections for this page, both the own ones and the ones defined via filters.

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

Hooks from the method

Return

Array.

Usage

$WC_Settings_Page = new WC_Settings_Page();
$WC_Settings_Page->get_sections();

Code of WC_Settings_Page::get_sections() WC 5.9.0

public function get_sections() {
	$sections = $this->get_own_sections();
	return apply_filters( 'woocommerce_get_sections_' . $this->id, $sections );
}