bp_nouveau_search_selector_id( string $suffix = '', string $sep = '-' )

Output a selector ID.

Description

Parameters

$suffix

(string) (Optional) A string to append at the end of the ID.

Default value: ''

$sep

(string) (Optional) The separator to use between each token.

Default value: '-'

Return

(string) The selector ID.

Source

File: bp-templates/bp-nouveau/includes/template-tags.php

function bp_nouveau_search_selector_id( $suffix = '', $sep = '-' ) {
	$id = join( $sep, array_merge( bp_nouveau_get_search_objects(), (array) $suffix ) );
	echo esc_attr( $id );
}

Changelog

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