Guest User

Untitled

a guest
Jul 29th, 2015
18
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. // this should be a duplicate of bp_groupblog_signup_form(),
  2. // but with your mods to add in your custom roles
  3. function my_bp_groupblog_signup_blog() {
  4. }
  5.  
  6. function my_override_signup_blog_form() {
  7.     // remove current signup blog from
  8.     remove_action( current_filter(), 'bp_groupblog_signup_blog' );
  9.  
  10.     // add your custom signup blog form
  11.     add_action( current_filter(), 'my_bp_groupblog_signup_blog' );
  12. }
  13. add_action( 'bp_groupblog_create_screen_markup', 'my_override_signup_blog_form', 20 );
  14. add_action( 'bp_groupblog_edit_screen_markup',   'my_override_signup_blog_form', 20 );
RAW Paste Data

Adblocker detected! Please consider disabling it...

We've detected AdBlock Plus or some other adblocking software preventing Pastebin.com from fully loading.

We don't have any obnoxious sound, or popup ads, we actively block these annoying types of ads!

Please add Pastebin.com to your ad blocker whitelist or disable your adblocking software.

×