Skip to:
Content

BuddyPress.org

Changeset 12960


Ignore:
Timestamp:
06/05/2021 03:42:50 AM (4 years ago)
Author:
imath
Message:

Members Invitations: Improve inline documentation about 3 functions

See #8480

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/bp-members/bp-members-invitations.php

    r12945 r12960  
    1111defined( 'ABSPATH' ) || exit;
    1212
     13/**
     14 * Set up the displayed user's Members Invitations nav.
     15 *
     16 * @since 8.0.0
     17 */
    1318function bp_members_invitations_setup_nav() {
    1419    if ( ! bp_get_members_invitations_allowed() ) {
     
    6368 * When a user joins the network via an invitation, skip sending the activation email.
    6469 *
     70 * @since 8.0.0
     71 *
    6572 * @param bool   $send           Whether or not to send the activation key.
    6673 * @param int    $user_id        User ID to send activation key to.
     
    6976 * @param array  $usermeta       Miscellaneous metadata about the user (blog-specific
    7077 *                               signup data, xprofile data, etc).
     78 * @return bool Whether or not to send the activation key.
    7179 */
    7280function bp_members_invitations_cancel_activation_email( $send, $user_id, $user_email, $activation_key, $usermeta ) {
     
    9098 * - mark all invitations and requests as accepted
    9199 * - activate the user upon signup
     100 *
     101 * @since 8.0.0
    92102 *
    93103 * @param bool|WP_Error   $user_id       True on success, WP_Error on failure.
Note: See TracChangeset for help on using the changeset viewer.