apply_filters( 'bp_suggestions_services', string $value , array $args )
Filters the default suggestions service to use.
Description
Use this hook to tell BP the name of your class if you’ve built a custom suggestions service.
Parameters
- $value
-
Custom class to use. Default: none.
- $args
-
Array of arguments for sugggestions.
Source
Changelog
Version | Description |
---|---|
BuddyPress 2.1.0 | Introduced. |
Questions?
We're always happy to help with code or other questions you might have! Search our developer docs, contact support, or connect with our sales team.