mirror of
https://github.com/10h30/ultimatemember.git
synced 2026-07-19 14:43:49 +09:00
User Meta in Profile
This commit is contained in:
@@ -73,6 +73,9 @@ class UM_Shortcodes {
|
||||
}
|
||||
|
||||
$args = apply_filters('um_shortcode_args_filter', $args );
|
||||
|
||||
if ( um_profile_id() && $args['role'] && $args['role'] != $ultimatemember->query->get_role_by_userid( um_profile_id() ) )
|
||||
return;
|
||||
|
||||
extract( $args, EXTR_SKIP );
|
||||
|
||||
|
||||
Reference in New Issue
Block a user