GF_Fields
Source: includes/fields/class-gf-fields.php:9
Details
- Kind:
class - Namespace:
(global)
Methods
| Method | Description |
|---|---|
get_instance() | |
get() | Alias for get_instance() |
get_all() | Return all the registered field types. |
create() | Creates a Field object from an array of field properties. |
Method Reference
get_instance()
public static function get_instance( $field_type )
Parameters
| Name | Type | Default | Description |
|---|---|---|---|
$field_type |
Returns
Source: includes/fields/class-gf-fields.php:38
get()
public static function get( $field_type )
Alias for get_instance()
Parameters
| Name | Type | Default | Description |
|---|---|---|---|
$field_type |
Returns
Source: includes/fields/class-gf-fields.php:49
get_all()
public static function get_all()
Return all the registered field types.
Returns
Source: includes/fields/class-gf-fields.php:58
create()
public static function create( $properties )
Creates a Field object from an array of field properties.
Parameters
| Name | Type | Default | Description |
|---|---|---|---|
$properties | array | GF_Field |
Returns
- GF_Field — | bool
Source: includes/fields/class-gf-fields.php:69