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
2031 2032 2033 2034 2035 2036 2037 2038 | 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.