Skip to:
Content

BuddyPress.org


Ignore:
Timestamp:
03/09/2024 04:40:09 AM (3 months ago)
Author:
imath
Message:

Improve some method/function inline docs adding @global docblocks

Props shailu25

Fixes #9116
Closes https://github.com/buddypress/buddypress/pull/252

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/bp-blogs/bp-blogs-functions.php

    r13431 r13757  
    8888 * @since 2.6.0 Accepts $args as a parameter.
    8989 *
     90 * @global wpdb $wpdb WordPress database object.
     91 *
    9092 * @param array $args {
    9193 *     Array of arguments.
     
    861863 * modify this behavior.
    862864 *
     865 * @global wpdb $wpdb WordPress database object.
     866 *
    863867 * @param int         $user_id The ID of the user.
    864868 * @param string|bool $role    User's WordPress role for this blog ID.
     
    936940/**
    937941 * Remove a blog-user pair from BP's blog tracker.
     942 *
     943 * @global wpdb $wpdb WordPress database object.
    938944 *
    939945 * @param int $user_id ID of the user whose blog is being removed.
Note: See TracChangeset for help on using the changeset viewer.