PodsForm::block_field_types PHP Method

block_field_types() public static method

Get list of available text field types
Since: 2.3
public static block_field_types ( ) : array
return array Text field types
    public static function block_field_types()
    {
        static $field_types = null;
        if (null === $field_types) {
            $field_types = array('heading', 'html');
            /**
             * Returns the available text field types
             *
             * @since unknown
             *
             * @param object $field_types Outputs the field types
             */
            $field_types = apply_filters('pods_block_field_types', $field_types);
        }
        return $field_types;
    }