Mobile work and profile settings

This commit is contained in:
ultimatemember
2014-12-29 15:51:55 +02:00
parent 0c9c715175
commit 6c94a20220
40 changed files with 4993 additions and 386 deletions
+29
View File
@@ -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">&bull;</span>';
}
}
if ( isset( $items ) ) {
array_pop($items);
foreach( $items as $item ) {
$output .= $item;
}
}
return $output;
}
}