Changeset 6747
- Timestamp:
- 11/29/2017 01:25:35 AM (6 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/includes/users/engagements.php
r6746 r6747 655 655 * @since 2.6.0 bbPress (r5156) 656 656 * 657 * @param int $object_id Optional. ID of forum, topic, or something else657 * @param int $object_id Optional. ID of object (forum, topic, or something else) 658 658 */ 659 659 function bbp_get_subscribers( $object_id = 0, $type = 'post' ) { … … 670 670 * @since 2.6.0 bbPress (r6618) Signature changed to accept an array of arguments 671 671 * 672 * @param array $args Optional. Arguments to pass into bbp_has_ replies()673 * 674 * @return bool True if user has forumsubscriptions, otherwise false672 * @param array $args Optional. Arguments to pass into bbp_has_topics() 673 * 674 * @return bool True if user has topic subscriptions, otherwise false 675 675 */ 676 676 function bbp_get_user_topic_subscriptions( $args = array() ) { … … 688 688 * @since 2.6.0 bbPress (r6618) Signature changed to accept an array of arguments 689 689 * 690 * @param array $args Optional. Arguments to pass into bbp_has_ replies()690 * @param array $args Optional. Arguments to pass into bbp_has_forums() 691 691 * 692 692 * @return bool True if user has forum subscriptions, otherwise false … … 701 701 702 702 /** 703 * Check if a topic or forumis in user's subscription list or not703 * Check if an object (forum or topic) is in user's subscription list or not 704 704 * 705 705 * @since 2.5.0 bbPress (r5156) 706 706 * 707 707 * @param int $user_id Optional. User id 708 * @param int $object_id Optional. Topicid709 * 710 * @return bool True if the forum or topicis in user's subscriptions, otherwise false708 * @param int $object_id Optional. Object id 709 * 710 * @return bool True if the object (forum or topic) is in user's subscriptions, otherwise false 711 711 */ 712 712 function bbp_is_user_subscribed( $user_id = 0, $object_id = 0, $type = 'post' ) { … … 724 724 * 725 725 * @param int $user_id Optional. User id 726 * @param int $object_id Optional. Topicid726 * @param int $object_id Optional. Object id 727 727 * @param string $type Optional. Type of object being subscribed to 728 728 * 729 * @return bool Always true729 * @return bool True if the object was added to user subscriptions, otherwise false 730 730 */ 731 731 function bbp_add_user_subscription( $user_id = 0, $object_id = 0, $type = 'post' ) { … … 758 758 * 759 759 * @param int $user_id Optional. User id 760 * @param int $object_id Optional. Topicid760 * @param int $object_id Optional. Object id 761 761 * @param string $type Optional. Type of object being subscribed to 762 762 * 763 * @return bool True if the topic was removed from user's subscriptions, 764 * otherwise false 763 * @return bool True if the object was removed from user subscriptions, otherwise false 765 764 */ 766 765 function bbp_remove_user_subscription( $user_id = 0, $object_id = 0, $type = 'post' ) {
Note: See TracChangeset
for help on using the changeset viewer.