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

(string) Custom class to use. Default: none.

$args

(array) Array of arguments for sugggestions.

Source

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

Changelog

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.