diff --git a/components/Person/templates/person/settings.html.twig b/components/Person/templates/person/settings.html.twig index c2250cf76c..15abb021e4 100644 --- a/components/Person/templates/person/settings.html.twig +++ b/components/Person/templates/person/settings.html.twig @@ -34,8 +34,8 @@ {{ macros.settings_details_container('Notifications', 'Enable/disable notifications (Email, XMPP, Replies...)', 'notifications', tabbed_forms_notify, _context) }}
  • - {% set other_tabs = handle_event('PopulateSettingsTabs', app.request, 'others') %} - {{ macros.settings_details_container('Others', 'Other settings (plugins, etc.)', 'settings-other-details', other_tabs, _context) }} + {% set other_tabs = handle_event('PopulateSettingsTabs', app.request, 'api') %} + {{ macros.settings_details_container('API', 'API settings', 'settings-other-details', other_tabs, _context) }}
  • diff --git a/plugins/WebHooks/WebHooks.php b/plugins/WebHooks/WebHooks.php index 170ea5c735..92e26bc757 100644 --- a/plugins/WebHooks/WebHooks.php +++ b/plugins/WebHooks/WebHooks.php @@ -50,7 +50,7 @@ class WebHooks extends Plugin public function onPopulateSettingsTabs(Request $request, string $section, array &$tabs): bool { - if ($section === 'others') { + if ($section === 'api') { $tabs[] = [ 'title' => 'Web Hooks', 'desc' => 'Add hooks that run when an internal event occurs, allowing your third party resource to react',