Skip to:
Content

bbPress.org

Changeset 6746


Ignore:
Timestamp:
11/29/2017 01:11:59 AM (3 years ago)
Author:
johnjamesjacoby
Message:

Update engagements documentation.

Fixes #3176. Props espellcaste.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/includes/users/engagements.php

    r6739 r6746  
    452452 * @since 2.6.0 bbPress (r6618) Signature changed to accept an array of arguments
    453453 *
    454  * @param array $args Optional. Arguments to pass into bbp_has_replies()
     454 * @param array $args Optional. Arguments to pass into bbp_has_topics()
    455455 *
    456456 * @return bool True if user has favorites, otherwise false
     
    494494 * @param int $topic_id Optional. Topic id
    495495 *
    496  * @return bool Always true
     496 * @return bool True if the topic was added to user's favorites, otherwise false
    497497 */
    498498function bbp_add_user_favorite( $user_id = 0, $topic_id = 0 ) {
     
    528528 * @param int $topic_id Optional. Topic id
    529529 *
    530  * @return bool True if the topic was removed from user's favorites, or false
     530 * @return bool True if the topic was removed from user's favorites, otherwise false
    531531 */
    532532function bbp_remove_user_favorite( $user_id, $topic_id ) {
Note: See TracChangeset for help on using the changeset viewer.