acf_fields::get_field_type
This function will return a field type instance
Method of the class: acf_fields{}
No Hooks.
Returns
(mixed).
Usage
$acf_fields = new acf_fields(); $acf_fields->get_field_type( $name );
- $name(required)
- .
Changelog
| Since 5.4.0 | Introduced. |
acf_fields::get_field_type() acf fields::get field type code ACF 6.8.8
function get_field_type( $name ) {
return isset( $this->types[ $name ] ) ? $this->types[ $name ] : null;
}