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

Output a selector ID.


Parameters 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: '-'


Top ↑

Return Return

(string) The selector ID.


Source 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 );
}


Top ↑

Changelog Changelog

Changelog
Version Description
3.0.0 Introduced.

Top ↑

User Contributed Notes User Contributed Notes

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