Returns the custom CSS and custom JavaScript injected into the portal.
Endpoint
Method:
GETPath:
/settings/snippets-settingsEdition: PRO
Controller:
ProAdminController@getSnippetsSettingsRoute source:
fluent-community-pro/app/Http/Routes/api.php:33Controller 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 Snippets Settings
Returns the custom CSS and custom JavaScript injected into the portal.
Controller: ProAdminController@getSnippetsSettings
Route source: fluent-community-pro/app/Http/Routes/api.php:33
Authorizations
WordPress Application Passwords — use Basic auth with username:application_password.
Responses
Successful response