Membership Plugin

WordPress Membership Plugin

  • Home
  • Documentation
  • Addons
  • Support
    • Quick Setup
    • Documentation
    • Premium Addon Support
    • Paid Support
    • Support Forum
    • Support Forum Search
    • Forum Login
    • Forum Registration
  • Contact

[Resolved] Bulk Delete Users with ‘Activation required’ account status

Simple Membership Plugin › Forums › Simple Membership Plugin › Bulk Delete Users with ‘Activation required’ account status

  • This topic has 7 replies, 4 voices, and was last updated 1 year, 7 months ago by admin.
Viewing 8 posts - 1 through 8 (of 8 total)
  • Author
    Posts
  • October 9, 2024 at 2:08 pm #28904
    smallwarfare
    Participant

    SO I have over 4500 “activation required” users who are sitting there over a month old (the plugin to delete apparently doesn’t work) and I don’t want to go through 200+ pages of deleting them all manually. Any instructions on going into the database and deleting one swoop or is there another solution?

    Thanks for your help in advance

    October 10, 2024 at 2:02 am #28907
    The Assurer
    Moderator

    Have you tried going to the “activation required” tab in the members menu and bulk deleting the unactivated profiles?

    October 23, 2024 at 1:31 pm #28953
    smallwarfare
    Participant

    I have done that, yes, but there are 80+ pages..looking for a way to do it in bulk

    October 24, 2024 at 2:59 am #28960
    admin
    Keymaster

    If you have accumulated 200 pages of entries to delete, it’s likely that your site is experiencing a spam issue.

    Do you have captcha on your registration form?
    https://simple-membership-plugin.com/simple-membership-and-google-recaptcha-integration/

    To delete all member records from the ‘swpm_members_tbl’ database table in one step, you can run a query with the following condition:

    account_state = activation_required

    You can use PHPMyAdmin or any other database management tool to browse the table and execute this query. Always ensure you take a backup before performing any delete operations.

    January 27, 2025 at 7:50 pm #29490
    jordant
    Participant

    To delete all member records from the ‘swpm_members_tbl’ database table in one step, you can run a query with the following condition:

    account_state = activation_required

    You can use PHPMyAdmin or any other database management tool to browse the table and execute this query. Always ensure you take a backup before performing any delete operations.

    Unfortunately this doesn’t delete the related WordPress users. It would be helpful to have a bulk operation to delete “Activation Required” or a command via wp-cli.

    January 28, 2025 at 4:32 am #29521
    admin
    Keymaster

    We will look into adding a new option in the “Bulk Operation” tab to bulk delete accounts with certain account status.

    February 3, 2025 at 3:38 pm #29621
    jordant
    Participant

    A temporary solution is to add the following code as a mu-plugin which will set the items per page on the membership members page to 200 versus 50.

    
    function custom_swpm_members_items_per_page( $perpage ) {
        return 200; // Change 200 to whatever number you prefer.
    }
    add_filter( 'swpm_members_menu_items_per_page', 'custom_swpm_members_items_per_page' );
    
    February 10, 2025 at 6:57 am #29661
    admin
    Keymaster

    We have released an update to the plugin that has an option to bulk delete all member accounts with a specific account status.

  • Author
    Posts
Viewing 8 posts - 1 through 8 (of 8 total)
  • You must be logged in to reply to this topic.
Log In

Please read this message before using our plugin.

Search

Featured Addons and Extensions

  • Membership Form Builder Addon
  • Member Directory Listing Addon
  • WooCommerce Payment Integration
  • Member Data Exporter Addon

Documentation

  • Documentation Index Page

Copyright © 2026 | Simple Membership Plugin | Privacy Policy