/** * Output the 'name' attribute for search form input element. * * @since 2.7.0 * * @param string $component See bp_get_search_input_name(). */ function bp_search_input_name($component = '') { echo esc_attr(bp_get_search_input_name($component)); }
" class="bp-screen-reader-text"><?php bp_search_placeholder(); ?> </label> <input type="text" name="<?php echo esc_attr(bp_core_get_component_search_query_arg()); ?> " id="<?php bp_search_input_name(); ?> " placeholder="<?php bp_search_placeholder(); ?> " /> <input type="submit" id="<?php echo esc_attr(bp_get_search_input_name()); ?> _submit" name="<?php bp_search_input_name(); ?> _submit" value="<?php esc_attr_e('Search', 'buddypress'); ?> " /> </form> </div><!-- #<?php echo esc_attr(bp_current_component()); ?> -dir-search -->