• Resolved magicoders

    (@patopaiar)


    Hi,

    We have a client with an active licence for Boss and BuddyBoss Wall plugins.

    For a customization we are working on, we would need an apply_filter added to class.BBoss_Global_Search_Helper.php for $results on L#450

    The idea would be to be able to return your own $results following:

    /* $results will have a structure like below */
    /*
    id | type | relevance | entry_date
    45 | groups | 1 | 2014-10-28 17:05:18
    40 | posts | 1 | 2014-10-26 13:52:06
    4 | groups | 0 | 2014-10-21 15:15:36
    */

    Would you accept a pull request for this filter?

Viewing 5 replies - 1 through 5 (of 5 total)
  • Plugin Support BuddyBoss Support

    (@bbwpsupport)

    Hey @patopaiar,

    Thanks for reaching us ??
    We can add filter for the results to alter response and we will release the changes in plugin update.

    We have added a filter bboss_global_search_query_results with 2 params 1st is $results and 2nd is $this [class object] to use.

    I am checking with our developer if we can provide you master copy ??

    Regards

    Thread Starter magicoders

    (@patopaiar)

    This is fantastic!! And perfect.

    Having that master project to implement this directly on the project would be great.

    Thread Starter magicoders

    (@patopaiar)

    Hey guys,

    Any update of getting a copy of the plugin that has the new filter?

    Plugin Support BuddyBoss Support

    (@bbwpsupport)

    Hey @patopaiar,

    Do you mind creating a support ticket (https://support.buddyboss.com/hc/en-us) or send us an email at [email protected]. So that we can help you with the same.

    Good day to you! ??

    Thread Starter magicoders

    (@patopaiar)

    Thank you so much for agreeing to including this filter.

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘apply_filter request’ is closed to new replies.