Skip to:
Content
Pages
Categories
Search
Top
Bottom

Reply To: not recently active

@bea107

Participant

Hello

Just added code below in themes functions.php file and now getting this message

Parse error: syntax error, unexpected ‘.’ in /home/wordpres/public_html/wp-content/themes/twentyeleven/functions.php on line 741

function bp_core_get_last_activity( $last_activity_date, $string ) {
if ( empty( $last_activity_date ) )
// we do nothing
$last_active = ”;
else
$last_active = sprintf( $string, bp_core_time_since( $last_activity_date ) );
}
add_filter( ‘bp_core_get_last_activity’ );

Skip to toolbar