bp_format_time

  • apply_filters( 'bp_format_time', $date )

    Source Reference:

    • Component: BuddyPress :: bp-core
      File: /bp-core/bp-core-template.php :: Trac Source Line: 193
      	// Should we show the time also?
      	if ( !$just_date ) {
      		// Current time (9:50pm)
      		$time = date_i18n( get_option( 'time_format' ), $time_offset );
      
      		// Return string formatted with date and time
      		$date = sprintf( __( '%1$s at %2$s', 'buddypress' ), $date, $time );
      	}
      
      	return apply_filters( 'bp_format_time', $date );
      }
      
      function bp_word_or_name( $youtext, $nametext, $capitalize = true, $echo = true ) {
      	global $bp;
      
      	if ( $capitalize )
      		$youtext = bp_core_ucfirst($youtext);
      
      	if ( $bp->displayed_user->id == $bp->loggedin_user->id ) {
      		if ( $echo )
      

Comments are closed.