mirror of
https://github.com/10h30/ultimatemember.git
synced 2026-07-17 13:43:38 +09:00
Mobile work and profile settings
This commit is contained in:
@@ -0,0 +1,29 @@
|
||||
<?php
|
||||
|
||||
class UM_Profile {
|
||||
|
||||
function __construct() {
|
||||
|
||||
}
|
||||
|
||||
function show_meta( $array ) {
|
||||
$output = '';
|
||||
|
||||
foreach( $array as $k ) {
|
||||
if ( $k ) {
|
||||
$items[] = '<span>' . um_user( $k ) . '</span>';
|
||||
$items[] = '<span class="b">•</span>';
|
||||
}
|
||||
}
|
||||
|
||||
if ( isset( $items ) ) {
|
||||
array_pop($items);
|
||||
foreach( $items as $item ) {
|
||||
$output .= $item;
|
||||
}
|
||||
}
|
||||
|
||||
return $output;
|
||||
}
|
||||
|
||||
}
|
||||
Reference in New Issue
Block a user