#98665
 sharmstr
Moderator

Put this in your child theme’s functions.php file. Change “My Custom Member Search Text” to whatever you want.

COPY CODE

add_filter( 'bp_get_search_default_text', 'change_default_search_text' );
function change_default_search_text( $default_text ) {
    if ( bp_current_component() == 'members' ) {
        $default_text = "My Custom Member Search Text";
    }
    return $default_text;
}
Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solution

This support site is not about custom work. If you need custom development please contact cornel@seventhqueen.com

Log in with your credentials

Forgot your details?