Fetches the mention text for a specified user (and optionally a post ID for replies or group).
Automatically determines which mention syntax to be used based on the option in the
admin dashboard. Also performs display name clean-up automatically.
Parameters
user: any
postId: any
group: any
Returns any
Deprecated
Use app.mentionables.get('user').replacement(user) instead. Will be removed in 2.0.
Fetches the mention text for a specified user (and optionally a post ID for replies or group).
Automatically determines which mention syntax to be used based on the option in the admin dashboard. Also performs display name clean-up automatically.