Changeset 10138 for trunk/src/bp-notifications/bp-notifications-cache.php
- Timestamp:
- 09/24/2015 11:55:02 PM (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/bp-notifications/bp-notifications-cache.php
r9993 r10138 1 1 <?php 2 3 2 /** 4 3 * Functions related to notifications caching. 5 4 * 6 * @since BuddyPress (2.0.0) 5 * @since 2.0.0 6 * 7 * @package BuddyPress 8 * @subpackage NotificationsCache 7 9 */ 10 11 // Exit if accessed directly. 12 defined( 'ABSPATH' ) || exit; 8 13 9 14 /** … … 14 19 * when using notification meta within a loop context. 15 20 * 16 * @since BuddyPress (2.3.0)21 * @since 2.3.0 17 22 * 18 23 * @param int|string|array|bool $notification_ids Accepts a single notification_id, or a … … 34 39 * Clear all notifications cache for a given user ID. 35 40 * 36 * @since BuddyPress (2.3.0)41 * @since 2.3.0 37 42 * 38 43 * @param int $user_id The user ID's cache to clear. … … 45 50 * Invalidate 'all_for_user_' cache when saving. 46 51 * 47 * @since BuddyPress (2.0.0)52 * @since 2.0.0 48 53 * 49 54 * @param BP_Notifications_Notification $n Notification object. … … 57 62 * Invalidate the 'all_for_user_' cache when deleting. 58 63 * 59 * @since BuddyPress (2.0.0)64 * @since 2.0.0 60 65 * 61 66 * @param int $args Notification deletion arguments. … … 81 86 * Invalidates 'all_for_user_' cache when updating. 82 87 * 83 * @since BuddyPress (2.3.0)88 * @since 2.3.0 84 89 * 85 90 * @param array $update_args See BP_Notifications_Notification::update() for description.
Note: See TracChangeset
for help on using the changeset viewer.