Skip to content

zabarbo/delete-wp-fake-user

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 

Repository files navigation

delete-wp-fake-user

This plugin is a WordPress tool designed to streamline user management, especially for websites using WooCommerce. Below is an overview of its features:

Features

  • Count Users Without Name and Orders

    This feature identifies users who have not provided a name and have not made any WooCommerce orders.

    A shortcode [umh_user_count] can be used to display this count on the frontend.

  • List Users Without Name and Orders

    Generates a table of users missing both a name and WooCommerce orders. Only users meeting these criteria are displayed to help administrators focus on incomplete profiles.

    Use the shortcode [umh_user_list] to embed this table on any page or post.

  • Delete Users Without Name and Orders

    Deletes users who meet the following conditions:

    • No name provided.
    • No orders placed in WooCommerce.

    This feature ensures that administrators or users with specific roles are not deleted. Before deletion, a confirmation dialog warns administrators to back up their database.

  • Export Users to CSV

    Allows exporting all registered users to a CSV file as a backup. The file includes user ID, name, email, and roles. This is useful for maintaining records before performing deletions.

Admin Page Interface

An admin menu item is added to manage all functionalities:

  • Display the count of users without a name and orders.
  • List users who meet the criteria.
  • Delete users with a warning prompt and CSV backup option.
  • Export all users to a CSV file for safekeeping.

Technical Requirements

To ensure proper functionality of this plugin, your system must meet the following requirements:

  • WordPress Version: 5.8 or higher (Recommended: Always use the latest stable version).
  • WooCommerce Version: 6.0 or higher (Required for order-related functionalities).
  • PHP Version: 7.4 or higher (Recommended: PHP 8.0 or higher for improved performance and security).
  • Database: MySQL 5.7 or higher / MariaDB 10.3 or higher (Ensure your database is compatible with WordPress and WooCommerce).
  • Server Requirements:
    • HTTPS support
    • cURL enabled
    • JSON support
  • User Roles: The plugin requires administrative privileges to access and modify user data.

Before installing the plugin, verify that your hosting environment satisfies these requirements to avoid compatibility issues.

About

This plugin allows to delete unwanted users. Spam registered users

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages