1

Does anyone know how to override the BuddyPress logout URL with a custom one?

1 Answer 1

0

That’s the same as the regular WordPress logout URL. So you can use the same filter: 'logout_url'.

Sample code, not tested:

add_filter( 'logout_url', 'wpse_56866_logout_url' );
function wpse_56866_logout_url() 
{
    // set your URL here
    return 'http://example.com';
}
1
  • Awesome @toscho -- that was the solution. I greatly appreciate your answer!
    – frank13
    Jun 29, 2012 at 12:21

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.