Custom Field: hidden

When adding custom fields you can use the hidden type to display a field.

hidden Field Type

This will add a text type field that is hidden. The visibility of this field is controlled from the Easy Property Listings plugin Settings > Display Hidden Fields option.

'name'         => 'property_field_hidden',       // Required: Custom field key.
'label'        => 'Hidden field',                // Required: Field Label.
'type'         => 'hidden',                      // Required: Field Type.

'maxlength'    => '60',                          // 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 hidden field example: