- Timestamp:
- 08/26/2021 12:53:27 AM (3 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/bp-messages/classes/class-bp-messages-message.php
r11307 r13096 15 15 */ 16 16 class BP_Messages_Message { 17 17 18 /** 18 19 * ID of the message. … … 80 81 /** 81 82 * Set up data related to a specific message object. 83 * 84 * @global BuddyPress $bp The one true BuddyPress instance. 85 * @global wpdb $wpdb WordPress database object. 82 86 * 83 87 * @param int $id ID of the message. … … 101 105 * Send a message. 102 106 * 107 * @global BuddyPress $bp The one true BuddyPress instance. 108 * @global wpdb $wpdb WordPress database object. 109 * 103 110 * @return int|bool ID of the newly created message on success, false on failure. 104 111 */ … … 180 187 * Get a list of recipients for a message. 181 188 * 189 * @global BuddyPress $bp The one true BuddyPress instance. 190 * @global wpdb $wpdb WordPress database object. 191 * 182 192 * @return object $value List of recipients for a message. 183 193 */ … … 221 231 * @since 2.8.0 222 232 * 223 * @param array $recipient_ids Array of recipients IDs that were retrieved based on submitted usernames.233 * @param array $recipient_ids Array of recipients IDs that were retrieved based on submitted usernames. 224 234 * @param array $recipient_usernames Array of recipients usernames that were submitted by a user. 225 235 */ … … 230 240 * Get the ID of the message last sent by the logged-in user for a given thread. 231 241 * 242 * @global BuddyPress $bp The one true BuddyPress instance. 243 * @global wpdb $wpdb WordPress database object. 244 * 232 245 * @param int $thread_id ID of the thread. 233 246 * … … 246 259 /** 247 260 * Check whether a user is the sender of a message. 261 * 262 * @global BuddyPress $bp The one true BuddyPress instance. 263 * @global wpdb $wpdb WordPress database object. 248 264 * 249 265 * @param int $user_id ID of the user. … … 266 282 * Get the ID of the sender of a message. 267 283 * 284 * @global BuddyPress $bp The one true BuddyPress instance. 285 * @global wpdb $wpdb WordPress database object. 286 * 268 287 * @param int $message_id ID of the message. 269 288 *
Note: See TracChangeset
for help on using the changeset viewer.