bp_group_search_form()
Display a Groups search form.
Description
No longer used in BuddyPress.
Source
File: bp-groups/bp-groups-template.php
2102 2103 2104 2105 2106 2107 2108 2109 2110 2111 2112 2113 2114 2115 2116 | function bp_group_search_form() { $action = bp_displayed_user_domain() . bp_get_groups_slug() . '/my-groups/search/' ; $label = __( 'Filter Groups' , 'buddyboss' ); $name = 'group-filter-box' ; $search_form_html = '<form action="' . $action . '" id= "group-search-form" method= "post" > <label for = "'. $name .'" id= "'. $name .'-label" > '. $label .' </label> <input type= "search" name= "'. $name . '" id= "'. $name .'" value= "'. $value .'" '. $disabled .' /> '. wp_nonce_field( ' group-filter-box ', ' _wpnonce_group_filter ', true, false ) .' </form>'; echo apply_filters( 'bp_group_search_form' , $search_form_html ); } |
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.