do_accordion_sections


do_accordion_sections ( $screen, $context, $object )

Parameters:
  • (string|object) $screen The screen identifier.
  • (string) $context The meta box context.
  • (mixed) $object gets passed to the section callback function as first parameter.
Uses:
  • global
Returns:
  • (int) number of meta boxes as accordion sections.
Defined at:

Description

Meta Box Accordion Template Function

Largely made up of abstracted code from do_meta_boxes(), this function serves to build meta boxes as list items for display as a collapsible accordion.

Related Functions

do_settings_sections, do_action, favorite_actions, add_settings_section, wp_load_core_site_options

Top Google Results

User discussions

wpseek mobile