bp_search_input_name( string $component = '' )
Output the ‘name’ attribute for search form input element.
Description
Parameters
- $component
-
(Optional) See bp_get_search_input_name().
Default value: ''
Source
File: bp-core/bp-core-template.php
function bp_search_input_name( $component = '' ) { echo esc_attr( bp_get_search_input_name( $component ) ); }
Changelog
Version | Description |
---|---|
BuddyPress 2.7.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.