bp_has_custom_signup_page()
Do we have a working custom sign up page?
Description
Return
(bool) True if page and template exist, false if not.
Source
File: bp-members/bp-members-template.php
function bp_has_custom_signup_page() {
static $has_page = false;
if ( empty( $has_page ) )
$has_page = bp_get_signup_slug() && bp_locate_template( array( 'registration/register.php', 'members/register.php', 'register.php' ), false );
return (bool) $has_page;
}
Changelog
| Version | Description |
|---|---|
| BuddyPress 1.5.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.