mirror of
https://github.com/10h30/ultimatemember.git
synced 2026-07-19 06:33:50 +09:00
- changed wp-admin > Users page;
* updated filters by status, avoid slow queries for getting users count; * updated bulk-actions for changing statuses (moved to WP native dropdown) * separate handlers for changing user statuses on wp-admin and frontend (partially implemented); * created class UM()->common()->users() to handle user statuses in more clear format; * deprecated old hooks and old functions
This commit is contained in:
@@ -45,3 +45,23 @@ if ( ! defined( 'ABSPATH' ) ) {
|
||||
* }
|
||||
* add_filter( 'um_language_file', 'my_um_language_file' );
|
||||
*/
|
||||
|
||||
/**
|
||||
* Fires after user status changed.
|
||||
*
|
||||
* @param {int} $user_id User ID.
|
||||
*
|
||||
* @since 1.3.x
|
||||
* @depecated 2.8.7 use action hook `um_after_user_status_is_changed` instead.
|
||||
* @hook um_after_user_status_is_changed_hook
|
||||
*/
|
||||
|
||||
/**
|
||||
* Fires just before User status is changed.
|
||||
*
|
||||
* @since 1.3.x
|
||||
* @depecated 2.8.7 use action hook `um_before_user_status_is_set` instead.
|
||||
* @hook um_when_status_is_set
|
||||
*
|
||||
* @param {int} $user_id User ID. Since 2.0
|
||||
*/
|
||||
|
||||
Reference in New Issue
Block a user