mirror of
https://github.com/10h30/ultimatemember.git
synced 2026-07-11 18:56:10 +09:00
- fixed admin actions hook;
- fixed JS templates for list and grid view when user metakeys contain "-" symbol; - fixed JS template list "$show_block" issue;
This commit is contained in:
@@ -1516,9 +1516,9 @@ if ( ! class_exists( 'um\core\User' ) ) {
|
||||
* }
|
||||
* ?>
|
||||
*/
|
||||
$actions = apply_filters( 'um_admin_user_actions_hook', null, um_profile_id() );
|
||||
if ( ! isset( $actions ) || empty( $actions ) ) {
|
||||
return false;
|
||||
$actions = apply_filters( 'um_admin_user_actions_hook', array(), um_profile_id() );
|
||||
if ( empty( $actions ) ) {
|
||||
return $items;
|
||||
}
|
||||
|
||||
foreach ( $actions as $id => $arr ) {
|
||||
|
||||
Reference in New Issue
Block a user