heading(sample)

Display a heading for separating your options in an admin page.

Option Details & Parameters

Type: heading

Returns: string

Can be placed in: Admin Panels , Admin Tabs , Meta Boxes

Parameter Type Description Ver
name string The name of the option, for display purposes only.
desc string A description to display near the heading. 1.8

Examples

Creating a heading option:

$panel->createOption( array(
'name' => 'My Heading',
'type' => 'heading',
) );