Open slaFFik opened 10 years ago
Yes, it has.
<?php do_action( 'bp_after_registration_submit_buttons' ); ?>
It's called after everything registration-related (where data should be filled by user).
The BuddyPress register form is on the front end, correct? Would the wp_footer
hook not be more appropriate?
Yes, you are right, it's in front-end. And yes, it will be more appropriate to use wp_footer :) I was too concentrated on "BuddyPress special hook".
I couldn't merge the pull request because it was on the stable master branch. I added it manually though.
The one thing I don't know about is the footer scripts. See line 115: https://github.com/justintadlock/registration-honeypot/blob/1.1.0/registration-honeypot.php#L115
Does BuddyPress have a special hook for the footer on its registration page? I'm assuming it doesn't use the
login_footer
hook.