Changeset 12597
- Timestamp:
- 03/28/2020 07:06:15 PM (6 years ago)
- File:
-
- 1 edited
-
trunk/src/bp-friends/bp-friends-notifications.php (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/bp-friends/bp-friends-notifications.php
r12589 r12597 83 83 * 84 84 * @since 1.0.0 85 * @since 6.0.0 Adds the $secondary_item_id parameter. 85 86 * 86 * @param string|array $value Depending on format, an HTML link to new requests profile 87 * tab or array with link and text. 88 * @param int $total_items The total number of messaging-related notifications 89 * waiting for the user. 90 * @param int $item_id The primary item ID. 87 * @param string|array $value Depending on format, an HTML link to new requests profile tab or array with link and text. 88 * @param int $total_items The total number of messaging-related notifications waiting for the user. 89 * @param int $item_id The primary item ID. 90 * @param int $secondary_item_id The secondary item ID. 91 91 */ 92 $return = apply_filters( 'bp_friends_' . $amount . '_friendship_' . $action . '_notification', '<a href="' . esc_url( $link ) . '">' . esc_html( $text ) . '</a>', (int) $total_items, $item_id );92 $return = apply_filters( 'bp_friends_' . $amount . '_friendship_' . $action . '_notification', '<a href="' . esc_url( $link ) . '">' . esc_html( $text ) . '</a>', (int) $total_items, $item_id, $secondary_item_id ); 93 93 } else { 94 94 /** This filter is documented in bp-friends/bp-friends-notifications.php */ … … 96 96 'link' => $link, 97 97 'text' => $text 98 ), (int) $total_items, $item_id );98 ), (int) $total_items, $item_id, $secondary_item_id ); 99 99 } 100 100
Note:
See TracChangeset
for help on using the changeset viewer.
![(please configure the [header_logo] section in trac.ini)](/chrome/site/your_project_logo.png)