SHOW:
|
|
- or go back to the newest paste.
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' ); |
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' ); |
14 | + | add_action( 'bp_groupblog_edit_screen_markup', 'my_override_signup_blog_form', 20 ); |