
內容簡介
這個外掛是 Paid Memberships Pro 的一個可擴展、可排序和批量操作的會員列表工具。這個外掛完全替代了 PMPro 中的「成員列表」功能,並支持大部分相同的過濾器和鉤子。其主要區別在於列的管理。現在你也可以使用標準的 WordPress 過濾器,以添加/刪除/使列可排序等,以及添加其他批量操作等功能。
擴展會員列表
此外掛使用 WP_List_Table 類來生成你熟悉並熱愛的 WordPress 文章/頁面等後端靈活的表格方式。因此,它對於向表格添加列具有標準化且靈活的方法。
我還包括了一些過濾器和動作,讓PHP 開發人員擴展列表的搜索功能。
導出 CSV 功能也是一樣,都可以擴展。
此外掛應該支持標準的 Paid Memberships Pro 過濾器,以添加新的 CSV 導出列和數據。
支持的過濾器
請參見FILTERS.md
支持的動作
請參見ACTIONS.md
已知問題
PHP 8.0 及更高版本為某些在 v8.0 之前被忽略的行為引入了警告訊息。由於這個原因以及這個外掛依賴于 Paid Memberships Pro 的功能,「結束日期」列可能會列印顯示有關 trim() 函數問題的訊息。在 Paid Memberships Pro 更新其外掛支持 PHP8.x 之前,這些訊息需要在您的 Web 伺服器配置中禁用(抑制)。
在「成員列表」頁面上在「選項」下拉菜單中將「每頁成員數」設置為大於 50 的值可能會導致意外的錯誤/警告。默認值為 20。其中一個症狀是看到 PHP 警告:「Warning: Unknown: Input variables exceeded 2000. To increase the limit change max_input_vars in php.ini. in Unknown on line 0」。
外掛標籤
開發者團隊
② 後台搜尋「E20R Better Members List for Paid Memberships Pro」→ 直接安裝(推薦)
📦 歷史版本下載
原文外掛簡介
Extensible, sortable & bulk action capable members listing tool for Paid Memberships Pro. This plugin is a complete replacement for the “Members List” functionality in PMPro and supports most of the same filters and hooks. The key differences have to do with managing columns. Now you can also use the standard WordPress filters to columns you can add/remove/make sortable, additional bulk actions, etc.
Extending the Members List
This plugin uses the WP_List_Table class to generate the flexible table approach you know and love from the WordPress Post/Page/etc back-end. As a result, it’s has a standardized and flexible approach to adding columns to the table.
I’ve also included a number of filters and actions to let a PHP developer expand on the search functionality for the list.
The same goes for the Export to CSV functionality.
This plugin should support the standard Paid Memberships Pro filters in order to add new CSV export columns and data.
Supported Filters
See FILTERS.md
Supported Actions
See ACTIONS.md
Known Issues
PHP 8.0 and later introduces warning messages for certain behaviors that were ignored prior to v8.0. Because of this, and the fact that this plugin relies on functionality from Paid Memberships Pro, the “end date” column may print messages indicating problems with the trim() function. Until Paid Memberships Pro updates their plugin to support PHP8.x, these messages will need to be disabled in your web server configuration (suppressed).
Setting the “Members per page” in the “Options” drop-down on the Members List page to a number greater than 50 can result in unexpected errors/warnings. The default value is 20. One symptom is seeing the PHP warning: “Warning: Unknown: Input variables exceeded 2000. To increase the limit change max_input_vars in php.ini. in Unknown on line 0”
