- fixed issue #346 with encode Biography field;

This commit is contained in:
nikitozzzzzzz
2017-12-07 18:42:14 +02:00
parent 3abe1ee0fa
commit ba02dd61fc
4 changed files with 38 additions and 32 deletions
+8 -4
View File
@@ -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 );
}