- unregister_hook('plugin_settings', 'addon/group_text/group_text.php', 'group_text_settings');
- unregister_hook('plugin_settings_post', 'addon/group_text/group_text.php', 'group_text_settings_post');
+ Addon::unregisterHook('addon_settings', 'addon/group_text/group_text.php', 'group_text_settings');
+ Addon::unregisterHook('addon_settings_post', 'addon/group_text/group_text.php', 'group_text_settings_post');