Skip to:
Content

BuddyPress.org

Changeset 9453


Ignore:
Timestamp:
02/08/2015 11:16:53 PM (10 years ago)
Author:
tw2113
Message:

Adds hooks documentation to bp-groups-widgets.php.

See #5943.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/bp-groups/bp-groups-widgets.php

    r9351 r9453  
    4343
    4444    function widget( $args, $instance ) {
     45
     46        /**
     47         * Filters the user ID to use with the widget instance.
     48         *
     49         * @since BuddyPress (1.5.0)
     50         *
     51         * @param string $value Empty user ID.
     52         */
    4553        $user_id = apply_filters( 'bp_group_widget_user_id', '0' );
    4654
     
    5361            $instance['title'] = __( 'Groups', 'buddypress' );
    5462
     63        /**
     64         * Filters the title of the Groups widget.
     65         *
     66         * @since BuddyPress (1.8.0)
     67         *
     68         * @param string $value The widget title.
     69         */
    5570        $title = apply_filters( 'widget_title', $instance['title'] );
    5671
Note: See TracChangeset for help on using the changeset viewer.