function sp_do_UserGroupsShortcode($atts) { $args = array(); $userid = $atts['userid']; $noMembershipLabel = $atts['nomembershiplabel']; $adminLabel = $atts['adminlabel']; if (isset($atts['tagclass'])) { $args['tagClass'] = $atts['tagclass']; } if (isset($atts['stacked'])) { $args['stacked'] = $atts['stacked']; } if (isset($atts['showtitle'])) { $args['showTitle'] = $atts['showtitle']; } if (isset($atts['showbadge'])) { $args['showBadge'] = $atts['showbadge']; } $args['echo'] = 0; return sp_do_sp_UserGroupsTag($userid, $args, $noMembershipLabel, $adminLabel); }
function sp_ShowUserGroupsTag($userid, $args = '', $noMembershipLabel = '', $adminLabel = '') { include_once SPTEMPTAGSDIR . 'sp-ShowUserGroups-tag.php'; return sp_do_sp_UserGroupsTag($userid, $args, $noMembershipLabel, $adminLabel); }