Skip to:
Content

BuddyPress.org


Ignore:
Timestamp:
11/22/2015 04:58:34 AM (9 years ago)
Author:
tw2113
Message:

More docs cleanup for BP-Groups component.

See #6401.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/bp-groups/bp-groups-cache.php

    r10148 r10373  
    2323 * $group_ids and adds it to WP cache. This improves efficiency when using
    2424 * groupmeta within a loop context.
    25  *
    2625 *
    2726 * @param int|string|array|bool $group_ids Accepts a single group_id, or a
     
    7877 * @since 2.0.0
    7978 *
    80  * @param int $meta_id
    81  * @param int $group_id
     79 * @param int $meta_id Meta ID.
     80 * @param int $group_id Group ID.
    8281 */
    8382function bp_groups_delete_group_cache_on_metadata_change( $meta_id, $group_id ) {
     
    9695 */
    9796function bp_groups_clear_group_creator_cache( $group_id, $group_obj ) {
    98     // Clears the 'total groups' for this user
     97    // Clears the 'total groups' for this user.
    9998    groups_clear_group_user_object_cache( $group_obj->id, $group_obj->creator_id );
    10099}
     
    110109 */
    111110function bp_groups_clear_group_members_caches( $group_obj, $user_ids ) {
    112     // Clears the 'total groups' cache for each member in a group
     111    // Clears the 'total groups' cache for each member in a group.
    113112    foreach ( (array) $user_ids as $user_id )
    114113        groups_clear_group_user_object_cache( $group_obj->id, $user_id );
     
    200199 * @since 2.1.0
    201200 *
    202  * @param BP_Groups_Member $member
     201 * @param BP_Groups_Member $member Member object.
    203202 */
    204203function groups_clear_group_administrator_cache_on_member_save( BP_Groups_Member $member ) {
Note: See TracChangeset for help on using the changeset viewer.