Changeset 12979
- Timestamp:
- 06/30/2021 01:36:18 AM (4 years ago)
- Location:
- trunk/src/bp-templates/bp-nouveau/includes
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/bp-templates/bp-nouveau/includes/groups/template-tags.php
r12789 r12979 4 4 * 5 5 * @since 3.0.0 6 * @version 6.0.06 * @version 9.0.0 7 7 */ 8 8 … … 1007 1007 * 1008 1008 * @since 3.0.0 1009 * @since 9.0.0 Adds the `$args` parameter to the filter. 1009 1010 * 1010 1011 * @param array $buttons The list of buttons. 1011 1012 * @param int $group The current group object. 1012 1013 * @param string $type Whether we're displaying a groups loop or a groups single item. 1014 * @param array $args Button arguments. 1013 1015 */ 1014 $buttons_group = apply_filters( 'bp_nouveau_get_groups_buttons', $buttons, $group, $type );1016 $buttons_group = apply_filters( 'bp_nouveau_get_groups_buttons', $buttons, $group, $type, $args ); 1015 1017 1016 1018 if ( ! $buttons_group ) { -
trunk/src/bp-templates/bp-nouveau/includes/members/template-tags.php
r12921 r12979 4 4 * 5 5 * @since 3.0.0 6 * @version 8.0.06 * @version 9.0.0 7 7 */ 8 8 … … 467 467 * 468 468 * @since 3.0.0 469 * @since 9.0.0 Adds the `$args` parameter to the filter. 469 470 * 470 471 * @param array $buttons The list of buttons. 471 472 * @param int $user_id The displayed user ID. 472 473 * @param string $type Whether we're displaying a members loop or a user's page 473 */ 474 $buttons_group = apply_filters( 'bp_nouveau_get_members_buttons', $buttons, $user_id, $type ); 474 * @param array $args Button arguments. 475 */ 476 $buttons_group = apply_filters( 'bp_nouveau_get_members_buttons', $buttons, $user_id, $type, $args ); 475 477 if ( ! $buttons_group ) { 476 478 return $buttons;
Note: See TracChangeset
for help on using the changeset viewer.