Changeset 9216 for trunk/src/bp-messages/bp-messages-functions.php
- Timestamp:
- 12/07/2014 12:27:30 AM (12 years ago)
- File:
-
- 1 edited
-
trunk/src/bp-messages/bp-messages-functions.php (modified) (5 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/bp-messages/bp-messages-functions.php
r9182 r9216 156 156 } 157 157 158 // Allow additional actions when a message is sent successfully 158 /** 159 * Fires after a message has been successfully sent. 160 * 161 * @since BuddyPress (1.1.0) 162 * 163 * @param BP_Messages_Message $message Message object. Passed by reference. 164 */ 159 165 do_action_ref_array( 'messages_message_sent', array( &$message ) ); 160 166 … … 183 189 $notice->save(); // send it. 184 190 191 /** 192 * Fires after a notice has been successfully sent. 193 * 194 * @since BuddyPress (1.0.0) 195 * 196 * @param string $subject Subject of the notice. 197 * @param string $message Content of the notice. 198 */ 185 199 do_action_ref_array( 'messages_send_notice', array( $subject, $message ) ); 186 200 … … 196 210 */ 197 211 function messages_delete_thread( $thread_ids ) { 212 213 /** 214 * Fires before specified thread IDs have been deleted. 215 * 216 * @since BuddyPress (1.5.0) 217 * 218 * @param int|array Thread ID or array of thread IDs that were deleted. 219 */ 198 220 do_action( 'messages_before_delete_thread', $thread_ids ); 199 221 … … 210 232 } 211 233 234 /** 235 * Fires after specified thread IDs have been deleted. 236 * 237 * @since BuddyPress (1.0.0) 238 * 239 * @param int|array Thread ID or array of thread IDs that were deleted. 240 */ 212 241 do_action( 'messages_delete_thread', $thread_ids ); 213 242 … … 218 247 } 219 248 249 /** This action is documented in bp-messages/bp-messages-functions.php */ 220 250 do_action( 'messages_delete_thread', $thread_ids ); 221 251
Note:
See TracChangeset
for help on using the changeset viewer.
![(please configure the [header_logo] section in trac.ini)](/chrome/site/your_project_logo.png)