Want to change ‘what’s new ‘ text in activity
-
Hello,
I’m working on a site. I’ve successfully changed the what’s new text in the BuddyPress activity. But when I’m trying to activate Youzify it’s gone back to default. kindly help me to solve this issue.
Thank you
FYI This is code!
add_filter( 'bp_core_get_js_strings', function ( $params ) { if ( ! isset( $params['activity'] ) || ! isset( $params['activity']['strings'] ) ) { return $params; } $params['activity']['strings']['whatsnewPlaceholder'] = sprintf( __( "Hello, What's new, %s?", 'buddypress' ), bp_get_user_firstname( bp_get_loggedin_user_fullname() ) ); return $params; }, 100 );
Viewing 5 replies - 1 through 5 (of 5 total)
Viewing 5 replies - 1 through 5 (of 5 total)
- The topic ‘Want to change ‘what’s new ‘ text in activity’ is closed to new replies.