Changeset 10781
- Timestamp:
- 05/19/2016 03:25:01 AM (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/bp-messages/bp-messages-template.php
r10652 r10781 305 305 * 306 306 * @since 1.0.0 307 * 308 * @param string $value permalink of a particular thread. 309 */ 310 return apply_filters( 'bp_get_message_thread_view_link', trailingslashit( bp_loggedin_user_domain() . bp_get_messages_slug() . '/view/' . $thread_id ) ); 307 * @since 2.6.0 Added the `$thread_id` parameter. 308 * 309 * @param string $value Permalink of a particular thread. 310 * @param int $thread_id ID of the thread. 311 */ 312 return apply_filters( 'bp_get_message_thread_view_link', trailingslashit( bp_loggedin_user_domain() . bp_get_messages_slug() . '/view/' . $thread_id ), $thread_id ); 311 313 } 312 314 … … 547 549 * 548 550 * @since 2.2.0 549 * 550 * @param int $count Current thread total message count. 551 */ 552 return apply_filters( 'bp_get_message_thread_total_count', $count ); 551 * @since 2.6.0 Added the `$thread_id` parameter. 552 * 553 * @param int $count Current thread total message count. 554 * @param int $thread_id ID of the queried thread. 555 */ 556 return apply_filters( 'bp_get_message_thread_total_count', $count, $thread_id ); 553 557 } 554 558
Note: See TracChangeset
for help on using the changeset viewer.