Fields (59)

Code

Method 1
Method 2
Method 3
Example
Method 1
Function Method
$my_accordion = $my_instance->accordion(array(
'accordion_1',
__( 'Accordion' )
);
Method 2
Class Method
$my_accordion = $my_instance->accordion(array(
'accordion_1',
__( 'Accordion' )
);
Method 3
Namespace Method
$my_accordion = $my_instance->accordion(array(
'accordion_1',
__( 'Accordion' )
);
Example
$my_accordion = $my_instance->accordion( 'accordion_1', __( 'Accordion' ) );
$my_accordion->text( 'my_text_id', __( 'Text Field' ) );
$my_accordion->textarea( 'my_textarea_id', __( 'Textarea Field' ) );
$my_accordion->checkbox( 'my_checkbox_id', __( 'Checkbox Field' ) );

Output

Tutorial

Project Usage

Notes

There are currently no extra notes for this operation.