Skip to:
Content

BuddyPress.org


Ignore:
Timestamp:
04/24/2014 09:59:12 PM (11 years ago)
Author:
boonebgorges
Message:

Improved documentation in Members component. See #5022

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/bp-members/bp-members-actions.php

    r7562 r8318  
    1616
    1717/**
     18 * Catch a "Mark as Spammer/Not Spammer" click from the toolbar.
     19 *
    1820 * When a site admin selects "Mark as Spammer/Not Spammer" from the admin menu
    1921 * this action will fire and mark or unmark the user and their blogs as spam.
    2022 * Must be a site admin for this function to run.
    2123 *
    22  * @package BuddyPress Core
    23  * @param int $user_id Optional user ID to mark as spam
    24  * @global object $wpdb Global WordPress Database object
     24 * Note: no longer used in the current state. See the Settings component.
     25 *
     26 * @param int $user_id Optional. User ID to mark as spam. Defaults to displayed
     27 *        user.
    2528 */
    2629function bp_core_action_set_spammer_status( $user_id = 0 ) {
     
    6669
    6770/**
    68  * Allows a site admin to delete a user from the adminbar menu.
     71 * Process user deletion requests.
    6972 *
    70  * @package BuddyPress Core
     73 * Note: No longer called here. See the Settings component.
    7174 */
    7275function bp_core_action_delete_user() {
     
    102105
    103106/**
    104  * Returns the user_id for a user based on their username.
     107 * Redirect to a random member page when visiting a ?random-member URL.
    105108 *
    106  * @package BuddyPress Core
    107  * @param string $username Username to check.
    108109 * @since BuddyPress (1.0)
    109110 */
Note: See TracChangeset for help on using the changeset viewer.