bp_get_activation_page()
Get the URL of the activation page.
Description
Return
(string)
Source
File: bp-members/bp-members-template.php
function bp_get_activation_page() {
if ( bp_has_custom_activation_page() ) {
$page = trailingslashit( bp_get_root_domain() . '/' . bp_get_activate_slug() );
} else {
$page = trailingslashit( bp_get_root_domain() ) . 'wp-activate.php';
}
/**
* Filters the URL of the activation page.
*
* @since BuddyPress 1.2.0
*
* @param string $page URL to the activation page.
*/
return apply_filters( 'bp_get_activation_page', $page );
}
Changelog
| Version | Description |
|---|---|
| BuddyPress 1.2.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.