Input Field – textarea

Input Field – textarea

You can use the textarea field to allow users to add some descriptive text without formatting. See below example about how you can use the textarea input field –
ExampleCopy to Clipboardarray(

'type' => 'textarea',

'heading' => esc_attr__( 'Address', 'fusion-builder' ),

'description' => esc_attr__( 'Add the address to the location. example: 775 New York Ave, Brooklyn, Kings, New York 11203.', 'fusion-builder' ),

'param_name' => 'address',

'value' => '',

)​x 1array(2​3  'type'        => 'textarea',4​5  'heading'     => esc_attr__( 'Address', 'fusion-builder' ),6​7  'description' => esc_attr__( 'Add the address to the location. example: 775 New York Ave, Brooklyn, Kings, New York 11203.', 'fusion-builder' ),8​9  'param_name'  => 'address',10​11  'value'       => '',12​13)Parameters type
(string) input type. heading
(string) Setting title. description
(string) Short description about the setting field. param_name
 (string) Attribute name to be used in the shortcode. value
(string) Default value to be set for the field.

發表回覆

您的郵箱地址不會被公開。 必填項已用 * 標註