mirror of
https://github.com/10h30/ultimatemember.git
synced 2026-07-20 15:13:55 +09:00
- fixed issue #346 with encode Biography field;
This commit is contained in:
@@ -509,13 +509,17 @@
|
||||
return $value;
|
||||
}
|
||||
|
||||
/***
|
||||
*** @Get filtered meta value after applying hooks
|
||||
***/
|
||||
/**
|
||||
* Get filtered meta value after applying hooks
|
||||
*
|
||||
* @param $key
|
||||
* @param bool $data
|
||||
* @return mixed|string|void
|
||||
*/
|
||||
function um_filtered_value( $key, $data = false ) {
|
||||
$value = um_user( $key );
|
||||
|
||||
if (!$data) {
|
||||
if ( ! $data ) {
|
||||
$data = UM()->builtin()->get_specific_field( $key );
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user