WC_Settings_Page::get_sections()
Get all sections for this page, both the own ones and the ones defined via filters.
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();
WC_Settings_Page::get_sections() WC Settings Page::get sections code WC 7.5.1
public function get_sections() { $sections = $this->get_own_sections(); return apply_filters( 'woocommerce_get_sections_' . $this->id, $sections ); }