This function has been deprecated. BuddyPress 1.5.0 instead.
bp_log_out_link()
Generate a link to log out. Last used in BP 1.2-beta. You should be using wp_logout_url().
Description
Source
File: bp-core/deprecated/buddypress/1.5.php
function bp_log_out_link() { _deprecated_function( __FUNCTION__, '1.5', 'wp_logout_url()' ); $logout_link = '<a href="' . wp_logout_url( bp_get_root_domain() ) . '">' . __( 'Log Out', 'buddyboss' ) . '</a>'; echo apply_filters( 'bp_logout_link', $logout_link ); }
Changelog
Version | Description |
---|---|
BuddyPress 1.5.0 | BuddyPress 1.5.0 |
BuddyPress 1.0.0 | Introduced. |
Questions?
We're always happy to help with code or other questions you might have! Search our developer docs, contact support, or connect with our sales team.