bp_invites_member_invite_set_email_user_name( $name, $data )
Passes the invite user name.
Description
Parameters
- $name
-
(Required)
- $data
-
(Required)
Return
(string)
Source
File: bp-invites/actions/invites.php
function bp_invites_member_invite_set_email_user_name( $name, $data ) { if ( isset( $_POST['custom_user_name'] ) && '' === $name && '' !== $_POST['custom_user_name'] ) { $name = esc_html( $_POST['custom_user_name'] ); } return apply_filters( 'bp_invites_member_invite_set_email_user_name', $name, $data ); }
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.