bp_get_signup_page()
Get the URL to the signup page.
Description
Return
(string)
Source
File: bp-members/bp-members-template.php
function bp_get_signup_page() {
if ( bp_has_custom_signup_page() ) {
$page = trailingslashit( bp_get_root_domain() . '/' . bp_get_signup_slug() );
} else {
$page = bp_get_root_domain() . '/wp-signup.php';
}
/**
* Filters the URL to the signup page.
*
* @since BuddyPress 1.1.0
*
* @param string $page URL to the signup page.
*/
return apply_filters( 'bp_get_signup_page', $page );
}
Changelog
| Version | Description |
|---|---|
| BuddyPress 1.1.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.