Panel

Panels are containers for section, they allow you to group multiple sections. You can add panel using Yano::panel() method.


Yano::panel( 'panel_id', [
   'title'       => 'Panel title',
   'description' => 'Panel description',
   'priority'    => 1
] );

Parameters

Here are the parameters for creating panel.

id
string | required

a unique slug-like string to use as an id.

title
string | required

the visible name of the panel.

description
string | optional

the description of the panel, displayed at the top of the panel, hidden behind the help icon.

priority
integer | optional

the order of panels appears in the Theme Customizer Sizebar.