Fields (59)

Code

Method 1
Method 2
Method 3
Example
Function Method
$my_accordion = $my_instance->accordion(array(
'accordion_1',
__( 'Accordion' )
);
Class Method
$my_accordion = $my_instance->accordion(array(
'accordion_1',
__( 'Accordion' )
);
Namespace Method
$my_accordion = $my_instance->accordion(array(
'accordion_1',
__( 'Accordion' )
);
$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.
Export as PDF
Copy link