apply_filters( 'bp_suggestions_services', string $value , array $args )
Filters the default suggestions service to use.
Description Description
Use this hook to tell BP the name of your class if you’ve built a custom suggestions service.
Parameters Parameters
- $value
-
Custom class to use. Default: none.
- $args
-
Array of arguments for suggestions.
Source Source
File: bp-core/bp-core-functions.php
Changelog Changelog
Version | Description |
---|---|
2.1.0 | Introduced. |