Returns the custom profile field configuration — the field groups, the field definitions and whether the feature is switched on.
Endpoint
Method:
GETPath:
/admin/custom-profile-fieldsEdition: PRO
Controller:
ProAdminController@getCustomProfileFieldsRoute source:
fluent-community-pro/app/Http/Routes/api.php:24Controller source:
fluent-community-pro/app/Http/Controllers/ProAdminController.phpRequires the FluentCommunity community-admin permission (or a WordPress super admin).
Requires FluentCommunity Pro.
Live sample
The request and response below were recorded against a running FluentCommunity install and then anonymised — member names, emails, avatars and post content are fictional, and long collections are trimmed to a few entries.
GET Get Custom Profile Fields
Returns the custom profile field configuration — the field groups, the field definitions and whether the feature is switched on.
Controller: ProAdminController@getCustomProfileFields
Route source: fluent-community-pro/app/Http/Routes/api.php:24
Authorizations
WordPress Application Passwords — use Basic auth with username:application_password.
Responses
Successful response