bp_get_signup_slug()
Return the sign-up slug.
Description
Return
(string)
Source
File: bp-members/bp-members-template.php
214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 | function bp_get_signup_slug() { $bp = buddypress(); if ( ! empty ( $bp ->pages->register->slug ) ) { $slug = $bp ->pages->register->slug; } elseif ( defined( 'BP_REGISTER_SLUG' ) ) { $slug = BP_REGISTER_SLUG; } else { $slug = 'register' ; } /** * Filters the sign-up slug. * * @since BuddyPress 1.5.0 * * @param string $slug Sign-up slug. */ return apply_filters( 'bp_get_signup_slug' , $slug ); } |
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.