SHARE
TWEET

r-a-y

a guest Jun 29th, 2010 284 Never
  1. function my_bp_post_excerpt($activity_content, $post, $permalink) {
  2.         if($post->post_excerpt)
  3.                 return $post->post_excerpt;
  4.         else
  5.                 return $activity_content;
  6. }
  7. add_filter( 'bp_blogs_activity_new_post_content', 'my_bp_post_excerpt', 1, 3 );
RAW Paste Data
Top