Extension settings supported field types

The extension settings is build on the Easy Property Listings custom meta fields allowing you to tap into the wide variety of custom option fields to build extension option pages with.

Supported Field Types

help

array(
	'name'    => 'epl_my_new_help_field',
	'label'   => __( 'Help field', 'my-extension-text-domain' ),
	'type'    => 'help',
	'content' => __( 'Content', 'my-extension-text-domain' ),
),

text

array(
	'name'  => 'epl_my_new_text_field',
	'label' => __( 'Text field', 'my-extension-text-domain' ),
	'type'  => 'text',
	'help'  => __( 'Optional help text for this field.', 'my-extension-text-domain' ),
),

textarea

array(
	'name'  => 'epl_my_new_textarea_field',
	'label' => __( 'Text Area field', 'my-extension-text-domain' ),
	'type'  => 'textarea',
	'help'  => __( 'Optional help text for this field.', 'my-extension-text-domain' ),
),

decimal

array(
	'name'  => 'epl_my_new_decimal_field',
	'label' => __( 'Decimal field', 'my-extension-text-domain' ),
	'type'  => 'decimal',
	'help'  => __( 'Optional help text for this field.', 'my-extension-text-domain' ),
),

number

array(
	'name'  => 'epl_my_new_number_field',
	'label' => __( 'Number field', 'my-extension-text-domain' ),
	'type'  => 'number',
	'help'  => __( 'Optional help text for this field.', 'my-extension-text-domain' ),
),

checkbox

array(
	'name'  => 'epl_my_new_checkbox_field',
	'label' => __( 'Checkbox Field', 'my-extension-text-domain' ),
	'type'  => 'checkbox',
	'help'  => __( 'Optional help text for this field.', 'my-extension-text-domain' ),
),

checkbox_single

array(
	'name'  => 'epl_my_new_checkbox_single_field',
	'label' => __( 'Checkbox Single field', 'my-extension-text-domain' ),
	'type'  => 'checkbox_single',
	'help'  => __( 'Optional help text for this field.', 'my-extension-text-domain' ),
),

checkbox_option

array(
	'name'  => 'epl_my_new_checkbox_option_field',
	'label' => __( 'Checkbox Option field', 'my-extension-text-domain' ),
	'type'  => 'checkbox_option',
	'help'  => __( 'Optional help text for this field.', 'my-extension-text-domain' ),
),

select

array(
	'name'  => 'epl_my_new_select_field',
	'label' => __( 'Select field', 'my-extension-text-domain' ),
	'type'  => 'select',
	'help'  => __( 'Optional help text for this field.', 'my-extension-text-domain' ),
),

select_multiple

array(
	'name'  => 'epl_my_new_select_multiple_field',
	'label' => __( 'Select Multiple field', 'my-extension-text-domain' ),
	'type'  => 'select_multiple',
	'help'  => __( 'Optional help text for this field.', 'my-extension-text-domain' ),
),

radio

array(
	'name'  => 'epl_my_new_radio_field',
	'label' => __( 'Radio field', 'my-extension-text-domain' ),
	'type'  => 'radio',
	'help'  => __( 'Optional help text for this field.', 'my-extension-text-domain' ),
),

image

array(
	'name'  => 'epl_my_new_image_field',
	'label' => __( 'Image field', 'my-extension-text-domain' ),
	'type'  => 'image',
	'help'  => __( 'Optional help text for this field.', 'my-extension-text-domain' ),
),

file

array(
	'name'  => 'epl_my_new_file_field',
	'label' => __( 'File field', 'my-extension-text-domain' ),
	'type'  => 'file',
	'help'  => __( 'Optional help text for this field.', 'my-extension-text-domain' ),
),

editor

array(
	'name'  => 'epl_my_new_editor_field',
	'label' => __( 'Editor field', 'my-extension-text-domain' ),
	'type'  => 'editor',
	'help'  => __( 'Optional help text for this field.', 'my-extension-text-domain' ),
),

date 

array(
	'name'  => 'epl_my_new_date_field',
	'label' => __( 'Date field', 'my-extension-text-domain' ),
	'type'  => 'date',
	'help'  => __( 'Optional help text for this field.', 'my-extension-text-domain' ),
),

email 

array(
	'name'  => 'epl_my_new_email_field',
	'label' => __( 'Email field', 'my-extension-text-domain' ),
	'type'  => 'email',
	'help'  => __( 'Optional help text for this field.', 'my-extension-text-domain' ),
),

url 

array(
	'name'  => 'epl_my_new_url_field',
	'label' => __( 'URL field', 'my-extension-text-domain' ),
	'type'  => 'url',
	'help'  => __( 'Optional help text for this field.', 'my-extension-text-domain' ),
),

button 

array(
	'name'  => 'epl_my_new_button_field',
	'label' => __( 'Button field', 'my-extension-text-domain' ),
	'type'  => 'button',
	'help'  => __( 'Optional help text for this field.', 'my-extension-text-domain' ),
),

Register your extension settings

Register your extension settings to populate a new extension settings page.

<php

dddd