Changeset 11308 for trunk/src/bp-messages/bp-messages-functions.php
- Timestamp:
- 12/19/2016 10:36:43 PM (8 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/bp-messages/bp-messages-functions.php
r11153 r11308 442 442 * @see delete_metadata() for full documentation excluding $meta_type variable. 443 443 * 444 * @param int 445 * @param string|bool $meta_key 444 * @param int $message_id ID of the message to have meta deleted for. 445 * @param string|bool $meta_key Meta key to delete. Default false. 446 446 * @param string|bool $meta_value Meta value to delete. Default false. 447 * @param bool $delete_all Whether or not to delete all meta data. 448 * @return bool 447 * @param bool $delete_all Whether or not to delete all meta data. 448 * 449 * @return bool True on successful delete, false on failure. 449 450 */ 450 451 function bp_messages_delete_meta( $message_id, $meta_key = false, $meta_value = false, $delete_all = false ) { … … 461 462 } 462 463 464 $retval = false; 465 463 466 // No keys, so stop now! 464 467 if ( empty( $keys ) ) { 465 return false;468 return $retval; 466 469 } 467 470
Note: See TracChangeset
for help on using the changeset viewer.