Class LinkCustomFieldType
Defines the link field type.
This allows the user to set a post url by selecting a post title.
Field Type Specific Arguments
n/aExample
array( 'field_id' => 'link_field', 'type' => 'link', 'title' => __( 'Single Link' ), ), array( 'field_id' => 'link_repeatable_field', 'type' => 'link', 'title' => __( 'Repeatable Links' ), 'repeatable' => true, )
Package: AdminPageFrameworkFieldTypePack\CustomFieldType
Since: 1.0.0
Located at custom-field-types/link-custom-field-type/LinkCustomFieldType.php
Since: 1.0.0
Located at custom-field-types/link-custom-field-type/LinkCustomFieldType.php
Methods summary
protected
|
|
protected
|
|
protected
|
|
protected
|
|
protected
|
|
public
|
|
protected
|
|
protected
|
|
public
|
Magic methods summary
Properties summary
public
array
|
$aFieldTypeSlugs |
#
Defines the field type slugs used for this field type. |
protected
array
|
$aDefaultKeys |
#
Defines the default key-values of this field type settings. Remark
$_aDefaultKeys holds shared default key-values defined in the base class.
|
public static
mixed
|
$_bLoaded |
#
Stores the flag indicating whether it is loaded or not. |