Flarum (v1.8.10)
    Preparing search index...
    • 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

      Use app.mentionables.get('user').replacement(user) instead. Will be removed in 2.0.