mirror of
https://github.com/10h30/ultimatemember.git
synced 2026-06-05 15:09:37 +09:00
35 lines
513 B
PHP
35 lines
513 B
PHP
<?php
|
|
|
|
class UM_Profile {
|
|
|
|
function __construct() {
|
|
|
|
}
|
|
|
|
function show_meta( $array ) {
|
|
global $ultimatemember;
|
|
$output = '';
|
|
|
|
foreach( $array as $key ) {
|
|
$data = '';
|
|
if ( $key && um_user( $key ) ) {
|
|
|
|
$value = um_filtered_value( $key );
|
|
|
|
$items[] = '<span>' . $value . '</span>';
|
|
$items[] = '<span class="b">•</span>';
|
|
|
|
}
|
|
}
|
|
|
|
if ( isset( $items ) ) {
|
|
array_pop($items);
|
|
foreach( $items as $item ) {
|
|
$output .= $item;
|
|
}
|
|
}
|
|
|
|
return $output;
|
|
}
|
|
|
|
} |