src/two/magictag.php
public function filter_user( $params ){

		if(!is_user_logged_in() ){
			return $params;
		}
		$user = get_userdata( get_current_user_id() );
		if(isset( $user->data->{$params} )){
			$params = $user->data->{$params};
		}

		$is_meta = get_user_meta( $user->ID, $params, true );
		if( !empty( $is_meta ) ){
			$params = implode( ', ', (array) $is_meta );
		}

		return $params;
	}
public function filter_user( $params ){

		if(!is_user_logged_in() ){
			return $params;
		}
		$user = get_userdata( get_current_user_id() );
		if(isset( $user->data->{$params} )){
			$params = $user->data->{$params};
		}

		$is_meta = get_user_meta( $user->ID, $params, true );
		if( !empty( $is_meta ) ){
			$params = implode( ', ', (array) $is_meta );
		}

		return $params;
	}
public function filter_user ( $ params ) { if ( ! is_user_logged_in ( ) ) { return $ params ; } $ user = get_userdata ( get_current_user_id ( ) ) ; if ( isset ( $ user -> data -> { $ params } ) ) { $ params = $ user -> data -> { $ params } ; } $ is_meta = get_user_meta ( $ user -> ID , $ params , true ) ; if ( ! empty ( $ is_meta ) ) { $ params = implode ( ', ' , ( array ) $ is_meta ) ; } return $ params ; }
Filters a user magic tag

@since 0.0.1

@return    string 	converted tag value
Filters a user magic tag