WC_Settings_Page::get_sections()
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 Settings Page::get sections WC 8.1.1
public function get_sections() { $sections = $this->get_own_sections(); return apply_filters( 'woocommerce_get_sections_' . $this->id, $sections ); }