note(sample)

Just a note

Option Details & Parameters

Type: note

Returns: string

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

Parameter Type Description
name string (Optional) The name of the note. The name is displayed on the left of the note similar to how option names are shown.
desc string The description to display inside the note box
color string (Optional) The left border color of the note. This can be either green or red. Defaults to green

Examples

Creating a note option:

$panel->createOption( array(
'type' => 'note',
'desc' => 'A note or an important reminder'
) );