Want more features on Pastebin? Sign Up, it's FREE!
Guest

Untitled

By: a guest on Jul 10th, 2012  |  syntax: None  |  size: 0.19 KB  |  views: 820  |  expires: Never
download  |  raw  |  embed  |  report abuse  |  print
Text below is selected. Please press Ctrl+C to copy to your clipboard. (⌘+C on Mac)
  1. add_filter ( 'bp_blogs_record_post_post_types', 'activity_publish_custom_post_types' );
  2. function activity_publish_custom_post_types() {
  3. $media = array('videos', 'pictures');
  4. return $media;
  5. }
clone this paste RAW Paste Data