Skip to:
Content

BuddyPress.org


Ignore:
Timestamp:
05/01/2018 11:53:37 AM (8 years ago)
Author:
djpaul
Message:

Templates, Nouveau: add argument to bp_nouveau_get_filter_label filter.

Fixes #7777

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/bp-templates/bp-nouveau/includes/template-tags.php

    r12015 r12028  
    20432043                 * @since 3.0.0
    20442044                 *
    2045                  * @param string $label Label for BuddyPress Nouveau filter.
    2046                  */
    2047                 return apply_filters( 'bp_nouveau_get_filter_label', $label );
     2045                 * @param string $label     Label for BuddyPress Nouveau filter.
     2046                 * @param array  $component The data filter's data-bp-filter attribute value.
     2047                 */
     2048                return apply_filters( 'bp_nouveau_get_filter_label', $label, $component );
    20482049        }
    20492050
Note: See TracChangeset for help on using the changeset viewer.