mirror of
https://github.com/10h30/ultimatemember.git
synced 2026-07-12 11:16:35 +09:00
Add body class for own profile
This commit is contained in:
@@ -118,6 +118,10 @@ class UM_Shortcodes {
|
||||
}
|
||||
}
|
||||
|
||||
if( um_is_core_page('user') && um_is_user_himself() ){
|
||||
$classes[] = 'um-own-profile';
|
||||
}
|
||||
|
||||
return $classes;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user