Skip to:
Content
Pages
Categories
Search
Top
Bottom

Reply To: how to change the freshness timing type?

@casiepa

Moderator

Well, for your specific case, you would probably go with:

function bbptoolkitpc_shorten_freshness_time($return) {
	$return = str_replace( "hour", "hr", $return );
	$return = str_replace( "minutes", "min", $return );
	return $return;
}
add_filter( 'bbp_get_time_since', 'bbptoolkitpc_shorten_freshness_time' );
add_filter( 'bp_core_time_since', 'bbptoolkitpc_shorten_freshness_time');

Pascal.

Skip to toolbar