mirror of
https://github.com/10h30/ultimatemember.git
synced 2026-06-05 15:09:37 +09:00
29 lines
401 B
PHP
29 lines
401 B
PHP
<?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;
|
|
}
|
|
|
|
} |