Change text in buddypress bp-member-template.php
-
I was wondering if it is possible to change the text in bp-member-template.php
As it seems to be a core file, i don’t want to edit it directly.
There is a function in there:function bp_get_current_member_type_message() { $type_object = bp_get_member_type_object( bp_get_current_member_type() ); $message = sprintf( __( 'Testing. Viewing members of the type: %s', 'buddypress' ), '<strong>' . $type_object->labels['singular_name'] . '</strong>' ); return apply_filters( 'bp_get_current_member_type_message', $message ); }
I would like to change the text “viewing members of the type: “
actually i would prefer to set the title of the page to the member type.How can i safely edit the file without losing changes when updating the core?
Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
- The topic ‘Change text in buddypress bp-member-template.php’ is closed to new replies.