← Back to Blog

Remove UsersWP Account Tabs in WordPress

UsersWP adds several default tabs to the user account area — like Notifications and Privacy. If you don’t need them, you can remove them safely with a filter.

How Tabs Work

Tabs are defined in UsersWP and then passed through the filter:

return apply_filters( 'uwp_account_all_tabs', $tabs );

That means we can modify them without touching the plugin core.

Clean Solution

Instead of using anonymous functions, keep the hook and logic separate for clarity:

class My_UWP_Customizations {

    public function __construct() {
        add_filter( 'uwp_account_all_tabs', [ $this, 'remove_tabs' ], 20 );
    }

    public function remove_tabs( $tabs ) {
        unset( $tabs['notifications'], $tabs['privacy'] );
        return $tabs;
    }
}

new My_UWP_Customizations();

Why This Way?

This small tweak gives you full control over the account dashboard while keeping your code maintainable.

Default UsersWP Tabs

By default, UsersWP provides these tabs: