Custom Field: textarea
When adding custom fields you can use the textarea type to display a field.
textarea Field Type
This is a text field box that provides more space for text entry and you can specify the number of accepted characters.
'name' => 'property_field_text', // Required: Custom field key. 'label' => 'Textarea Field Label', // Required: Field Label. 'type' => 'textarea', // Required: Field Type. 'maxlength' => '500', // Optional: Allowed character count. 'include' => array( 'property', 'rental' ), // Optional: Post types or exclude for all. 'class' => 'some-class-name', // Optional. Custom class name. 'width' => '1', // Optional. Field Width: 1, 2, 2-3, 3. 'help' => 'Optional: Help text.', // Optional: Help text. 'import' => 'preserve', // Optional: Do not update when imported.
Custom textarea field example: