bp_search_default_text( string $component = '' )

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

Description

See also

Parameters

$component

(string) (Optional) See bp_get_search_default_text().

Default value: ''

Source

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

function bp_search_default_text( $component = '' ) {
	echo bp_get_search_default_text( $component );
}

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.