• Resolved Shnipsel

    (@schnipsel13)


    Hi,

    on my site it took 2 weeks to grow the unconfirmed users list to 200 users. Is it possible to configure an automatic clean-up for example, deleting unconfirmed accounts after 3 days?

    Best regards!

Viewing 1 replies (of 1 total)
  • Hi,

    Thank you for reaching out to us.

    Unfortunately we don’t have this feature inside Profile Builder. The only solution is to clean the unconfirmed accounts manually by using the Bulk Actions -> Delete functionality.

    With some custom code we can modify the number of users displayed inside the “Users with Unconfirmed Email Address” page:

    1. Create an empty plugin like this: https://gist.github.com/sareiodata/76f701e01db6685829db

    2. Add the following code to the end of it:

    /*
     * Filter to change the number of users displayed on the Users with Unconfirmed Email Address page
     */
    
    add_filter('wppb_email_confirmation_user_per_page_number', 'wppbc_return_ec_users_per_page');
    
    function wppbc_return_ec_users_per_page() {
        return '100';
    }

    3. The value “100” represents the number of users. You can change it as you want.

    Install this plugin via FTP (copy it inside wp-content/plugins) or create a zip archive with it and install it via the WordPress plugin upload functionality

    Let me know if it works.

    Best regards,

Viewing 1 replies (of 1 total)
  • The topic ‘Cleaning up unconfirmed accounts’ is closed to new replies.