Skip to:
Content
Pages
Categories
Search
Top
Bottom

Changing defaults in mentions.js


  • rsthrive
    Participant

    @rsthrive

    Hi All,

    I’ve been looking at the mentions.js file and wondered how the ‘mentionsDefaults’ values were changed.

    In the mentions.js file the parameter I’m looking to change is ‘type’.

    params = { 'action': 'bp_get_suggestions', 'term': query, 'type': 'members' };

    Does anyone have any suggestions on how to edit this in the theme?

    Thanks in advance

    WP Version: 4.9.8
    BP Version: 3.2.0
    Site URL: Not live

  • You must be logged in to reply to this topic.
Skip to toolbar