public function getFieldTypes()
    {
        return array_map(function ($value) {
            $class_name = class_basename($value);

            return ucfirst(strtolower(preg_replace('/\B([A-Z])/', ' $1', $class_name)));
        }, $this->getRegistrar()->getRegisteredFields());
    }
public function getFieldTypes()
    {
        return array_map(function ($value) {
            $class_name = class_basename($value);

            return ucfirst(strtolower(preg_replace('/\B([A-Z])/', ' $1', $class_name)));
        }, $this->getRegistrar()->getRegisteredFields());
    }
public function getFieldTypes ( ) { return array_map ( function ( $ value ) { $ class_name = class_basename ( $ value ) ; return ucfirst ( strtolower ( preg_replace ( '/\B([A-Z])/' , ' $1' , $ class_name ) ) ) ; } , $ this -> getRegistrar ( ) -> getRegisteredFields ( ) ) ; }
Returns an array of registered fields, keyed by field slug,
values in readable format.

@return array
Returns an array of registered fields keyed by field slug values in readable format .