Custom Field: editor

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

editor Field Type

This is a text field box that provides a html text editor.

'name'         => 'property_field_editor',       // Required: Custom field key.
'label'        => 'Editor Field Label',          // Required: Field Label.
'type'         => 'editor',                      // Required: Field Type.

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