mirror of
https://github.com/10h30/ultimatemember.git
synced 2026-07-15 12:43:33 +09:00
@@ -229,6 +229,7 @@ if ( ! class_exists( 'um\core\Query' ) ) {
|
||||
foreach ( $users->results as $user ) {
|
||||
update_user_meta( $user, 'account_status', 'approved' );
|
||||
}
|
||||
return 0;
|
||||
} else {
|
||||
$args['meta_query'][] = array(array('key' => 'account_status','value' => $status,'compare' => '='));
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user