FEATURE: register_custom_field_type, support bool and integer