WP Manifestindependent plugin directory
manifest / users / swift-users-filters

Swift User Filter

WordPress User Filter Plugin

by Sandeep Ghosh · github.com/dev-sandeep-ghosh/swift-users-filters

0stars
0forks

Install

No release zip yet. The repository archive installs, but the folder name will carry the branch suffix and updates will not flow:

wp plugin install https://github.com/dev-sandeep-ghosh/swift-users-filters/archive/refs/heads/master.zip

Swift User Filter is a powerful WordPress plugin designed to help administrators manage and filter their user database with ease. It extends the default WordPress Users panel with advanced filtering capabilities, sorting options, and CSV export functionality.

🚀 Key Features

  • Advanced Sorting: Sort users by Firstname, Lastname, User ID, Login, Display Name, Registration Date, or Post Count.
  • Granular Filtering:
    • Filter by specific date ranges.
    • Relative date filtering (e.g., "12 hours ago", "1 month ago").
    • Exclude specific User IDs.
    • Exclude specific user roles.
  • Complex Meta Queries: Add multiple meta-key/value filters with various operators.
  • Powerful Export: Export filtered results directly to a CSV file.
  • Developer Friendly: Built with clean architecture using WordPress hooks like pre_get_users.
  • Admin Exclusive: Access is securely restricted to users with administrator privileges.

🛠 Tech Stack & Architecture

  • Backend: PHP (WordPress Plugin API)
  • Frontend: Vanilla JS, CSS (Custom admin UI)
  • Primary Hook: Uses pre_get_users filter to intercept and modify the user query based on UI inputs.
  • Prefix/Namespace: suf_user_filter (Swift User Filter)

📦 Installation

  1. Download the plugin folder swift-user-filter.
  2. Upload it to your WordPress /wp-content/plugins/ directory.
  3. Activate the plugin through the 'Plugins' menu in WordPress.
  4. Ensure you are logged in as an Administrator.

📖 How to Use

  1. Navigate to Users > All Users in your WordPress dashboard.
  2. You will see a new "Filter Users" button.
  3. Clicking the button opens a popup with three tabs:
    • General: For basic sorting, exclusions, and date filtering.
    • Advanced: For building complex meta queries and multiple date range filters.
    • Export: For generating and downloading the CSV file of your filtered users.
  4. Apply your filters and click "Filter Users" to see updated results in the table.

👤 Author

Sandeep Ghosh
Developer & WordPress Enthusiast

📄 License

This project is licensed under the GNU General Public License v3.0.