Buddypress signup form
-
Hi,
We use BuddyPress, Newsletter plugin along with Newsletter – WP Users Integration. I was looking for a way to display the check box on the Buddypress sign up form and hoping for some feedback on my solution below.
I added a check for Buddypress within wpusers.php to pass the hook_register_form to the correct place, so line 73 is wrapped in an if else..
if ( function_exists('buddypress') ) { add_action('bp_account_details_fields',array( $this,'hook_register_form')); } else { add_action('register_form', array($this, 'hook_register_form')); }
Obviously this edits the main plugin file so I was wondering is there a way to do this using functions.php or could this check be added to the plugin?
Viewing 3 replies - 1 through 3 (of 3 total)
Viewing 3 replies - 1 through 3 (of 3 total)
- The topic ‘Buddypress signup form’ is closed to new replies.