LPH
Well-known member
I'm not quite understanding what is being returned -- in terms of why the BBCode link isn't shown.
In the about for the user, there is a sentence with a link to a URL. This link is not showing on the external page when the following code is used to pull the
My understanding is that the fn is followed by name, arguments, escaped. Am I doing something wrong or simply expecting something that isn't possible?
Update: Oh Geez. Never mind. It's late. Yes. The BBCode is showing.
In the about for the user, there is a sentence with a link to a URL. This link is not showing on the external page when the following code is used to pull the
$user['about']
PHP:
$author_id = get_the_author_meta( 'id', $user_id );
$user = \XF::app()->finder('XF:UserProfile')->where('user_id', $author_id)->fetchOne();
return \XF::app()->templater()->fn( 'bb_code', [ $user['about'], $user, 'escaped'] );
My understanding is that the fn is followed by name, arguments, escaped. Am I doing something wrong or simply expecting something that isn't possible?
Update: Oh Geez. Never mind. It's late. Yes. The BBCode is showing.