bp_friend_search_form()
Display a Connections search form.
Description
No longer used in BuddyPress.
Source
File: bp-friends/bp-friends-template.php
203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 | function bp_friend_search_form() { $action = bp_displayed_user_domain() . bp_get_friends_slug() . '/my-friends/search/' ; $label = __( 'Filter Connections' , 'buddyboss' ); ?> <form action= "<?php echo $action ?>" id= "friend-search-form" method= "post" > <label for = "friend-search-box" id= "friend-search-label" ><?php echo $label ?></label> <input type= "search" name= "friend-search-box" id= "friend-search-box" value= "<?php echo $value ?>" <?php echo $disabled ?> /> <?php wp_nonce_field( 'friends_search' , '_wpnonce_friend_search' ) ?> <input type= "hidden" name= "initiator" id= "initiator" value= "<?php echo esc_attr( bp_displayed_user_id() ) ?>" /> </form> <?php } |
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.