Skip to:
Content
Pages
Categories
Search
Top
Bottom

Re: Clean professional user registration?


peterverkooijen
Participant

@peterverkooijen

In my template functions.php has this function:

function bp_show_register_page() {
global $bp, $current_blog;

require ( BP_PLUGIN_DIR . '/bp-core/bp-core-signup.php' );

if ( $bp->current_component == BP_REGISTER_SLUG && $bp->current_action == '' ) {
bp_core_signup_set_headers();
bp_core_load_template( 'register', true );
}
}
add_action( 'wp', 'bp_show_register_page', 2 );

I guess I’ll just make a copy of bp-core-signup.php, modify it as needed and change the link in this function. Just redirect the whole process to custom code based on the original BP code.

Not really a hook, but that would be a way to leave the core code intact.

I’ll get back to this later this week…

Skip to toolbar