do_settings_sections() WP 1.0
Prints out all settings sections added to a particular settings page
Part of the Settings API. Use this in a settings page callback function to output all the sections and fields that were added to that $page with add_settings_section() and add_settings_field()
Works based on: do_settings_fields()
No Hooks.
Return
Null. Nothing.
Usage
do_settings_sections( $page );
- $page(string) (required)
- The slug name of the page whose settings sections you want to output.
Notes
- Global. Array. $wp_settings_sections Storage array of all settings sections added to admin pages.
- Global. Array. $wp_settings_fields Storage array of settings fields and info about their pages/sections.
Changelog
Since 2.7.0 | Introduced. |