WordPress.org

Ready to get started?Download WordPress

Codex

Attention Interested in functions, hooks, classes, or methods? Check out the new WordPress Code Reference!

Function Reference/do accordion sections

Description

Function serves to build meta boxes as list items for display as a collapsible accordion.

Parameters

$screen
(string) (optional) The screen identifier.
Default: None
$context
(string) (optional) The meta box context.
Default: None
$object
(mixed) (optional) gets passed to the section callback function as first parameter.
Default: None

Return

(int) 
number of meta boxes as accordion sections.

Usage

 <?php  ?> 

Example

Description text

Example code

Change Log

Source File

do_accordion_sections() is located in wp-admin/includes/template.php.

Related

Function ref links

This article is marked as in need of editing. You can help Codex by editing it.