[ Index ]

PHP Cross Reference of BBPress

title

Body

[close]

/src/includes/users/ -> signups.php (summary)

bbPress Signups This file contains functions for assisting with adding forum data to user accounts during signup, account creation, and invitation.

File Size: 176 lines (4 kb)
Included or required:0 times
Referenced: 0 times
Includes or requires: 0 files

Defines 5 functions

  bbp_add_user_form_role_field()
  bbp_user_add_role_to_signup_meta()
  bbp_user_add_role_on_invite()
  bbp_user_add_role_on_register()
  bbp_user_add_role_on_activate()

Functions
Functions that are not part of a class:

bbp_add_user_form_role_field()   X-Ref
Output the forum-role field when adding a new user

since: 2.6.0 bbPress (r6674)

bbp_user_add_role_to_signup_meta( $meta = array()   X-Ref
Maybe add forum role to signup meta array

param: array $meta
return: array
since: 2.6.0 bbPress (r6674)

bbp_user_add_role_on_invite( $user_id = '', $role = '', $newuser_key = '' )   X-Ref
Add forum meta data when inviting a user to a site

param: int    $user_id     The invited user's ID.
param: array  $role        The role of invited user.
param: string $newuser_key The key of the invitation.
since: 2.6.0 bbPress (r6674)

bbp_user_add_role_on_register( $user_id = '' )   X-Ref
Single-site handler for adding a new user

param: int $user_id
since: 2.6.0 bbPress (r6674)

bbp_user_add_role_on_activate( $user_id = 0, $password = '', $meta = array()   X-Ref
Multi-site handler for adding a new user

param: int $user_id User ID.
since: 2.6.0 bbPress (r6674)



Generated: Wed Oct 23 01:01:36 2019 Cross-referenced by PHPXref 0.7.1