apply_filters( 'bp_get_search_default_text', string $default_text, string $component )

Filters the default text for the search box for a given component.

Description

Parameters

$default_text

(string) Default text for search box.

$component

(string) Current component displayed.

Source

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

Changelog

Changelog
Version Description
BuddyPress 1.5.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.