Skip to:
Content
Pages
Categories
Search
Top
Bottom

Re: Replace default buddypress login with “Login with Ajax”


imjscn
Participant

@imjscn

`bp_before_sidebar_login_form`
and
`bp_after_sidebar_login_form`
As long as be default theme has these 2 line before and after sidebar login form, the code should work.
This means if BP decide to change these 2 hooks to something else, you can change my code to
`add_action(‘before_somethingelse’, ‘mesh_before_somethingelse’);
function mesh_before_somethingelse() { ob_start(); }
add_action(‘after_somethingelse’, ‘mesh_after_somethingelse’);
function mesh_after_somethingelse() { ob_end_clean(); }`

Skip to toolbar