Changeset 5917 for trunk/src/includes/topics/functions.php
- Timestamp:
- 08/16/2015 06:43:03 AM (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/includes/topics/functions.php
r5908 r5917 2588 2588 * Update the topics last active date/time (aka freshness) 2589 2589 * 2590 * @since bbPress (r2680) 2591 * 2592 * @param int $topic_id Optional. Topic id 2593 * @param string $new_time Optional. New time in mysql format 2590 * @since 2.0.0 bbPress (r2680) 2591 * 2592 * @param int $topic_id Optional. Topic id. 2593 * @param string $new_time Optional. New time in mysql format. 2594 * @uses bbp_is_reply() To check if the passed topic id is a reply 2594 2595 * @uses bbp_get_topic_id() To get the topic id 2595 2596 * @uses bbp_get_reply_topic_id() To get the reply topic id 2596 * @uses current_time() To get the current time 2597 * @uses update_post_meta() To update the topic last active meta 2598 * @return bool True on success, false on failure 2597 * @uses get_post_field() To get the timestamp of the newest topic reply 2598 * @uses bbp_get_public_child_last_id() To get the newest topic reply id 2599 * @uses bbp_get_reply_post_type() To get the reply post type 2600 * @uses update_post_meta() To update the topic last active time meta 2601 * @return string MySQL timestamp of last active reply 2599 2602 */ 2600 2603 function bbp_update_topic_last_active_time( $topic_id = 0, $new_time = '' ) {
Note: See TracChangeset
for help on using the changeset viewer.