WC_Settings_Page::get_sections()publicWC 1.0

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

Метод класса: WC_Settings_Page{}

Хуки из метода

Возвращает

Массив.

Использование

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

Код WC_Settings_Page::get_sections() WC 8.7.0

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