bp_invites_member_invite_invitation_page()
Check if the current page is ‘accept-invitation’?
Description
Return
(bool)
Source
File: bp-invites/bp-invites-functions.php
function bp_invites_member_invite_invitation_page() { $retval = false; if ( bp_is_register_page() && ! empty( $_GET['bp-invites'] ) && 'accept-member-invitation' === urldecode( $_GET['bp-invites'] ) ) { $retval = true; } return apply_filters( 'invite_anyone_is_accept_invitation_page', $retval ); }
Changelog
Version | Description |
---|---|
BuddyBoss 1.0.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.