This function has been deprecated. BuddyPress 1.5.0 instead.
bp_search_form()
Last used by core in BP 1.1. The markup was merged into DTheme’s header.php template.
Description
Source
File: bp-core/deprecated/buddypress/1.5.php
function bp_search_form() { _deprecated_function( __FUNCTION__, '1.1', 'No longer required.' ); $form = ' <form action="' . bp_search_form_action() . '" method="post" id="search-form"> <input type="text" id="search-terms" name="search-terms" value="" /> ' . bp_search_form_type_select() . ' <input type="submit" name="search-submit" id="search-submit" value="' . __( 'Search', 'buddyboss' ) . '" /> ' . wp_nonce_field( 'bp_search_form' ) . ' </form> '; echo apply_filters( 'bp_search_form', $form ); }
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.