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.


Top ↑

Source Source

File: bp-core/bp-core-functions.php


Top ↑

Changelog Changelog

Changelog
Version Description
2.1.0 Introduced.

Top ↑

User Contributed Notes User Contributed Notes

You must log in before being able to contribute a note or feedback.