Skip to:
Content

BuddyPress.org


Ignore:
Timestamp:
04/28/2018 01:32:52 AM (8 years ago)
Author:
tw2113
Message:

add/touchup documentation to a lot of Nouveau actions and filters

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/bp-templates/bp-nouveau/includes/groups/functions.php

    r11968 r12008  
    208208    }
    209209
     210    /**
     211     * Filters the response value for potential group invite data for use with javascript.
     212     *
     213     * @since 3.0.0
     214     *
     215     * @param array   $response Array of invite data.
     216     * @param WP_User $user User object.
     217     */
    210218    return apply_filters( 'bp_nouveau_prepare_group_potential_invites_for_js', $response, $user );
    211219}
     
    601609     * Fires after inside the group header item meta section.
    602610     *
    603      * @since 1.2.0 (BuddyPress)
     611     * @since 1.2.0
    604612     */
    605613    do_action( 'bp_group_header_meta' );
     
    843851    }
    844852
     853    /**
     854     * Filters the BuddyPress Nouveau template hierarchy after resetting front template for groups.
     855     *
     856     * @since 3.0.0
     857     *
     858     * @param array $templates Array of templates.
     859     */
    845860    return apply_filters( '_bp_nouveau_group_reset_front_template', $templates );
    846861}
     
    896911    }
    897912
     913    /**
     914     * Filters the found template parts for the group template part locating functionality.
     915     *
     916     * @since 3.0.0
     917     *
     918     * @param array $templates Array of found templates.
     919     */
    898920    return bp_locate_template( apply_filters( 'bp_nouveau_group_locate_template_part', $templates ), false, true );
    899921}
     
    916938
    917939        /**
    918          * Let plugins adding an action to bp_get_template_part get it from here
     940         * Let plugins adding an action to bp_get_template_part get it from here.
     941         *
     942         * This is a variable hook that is dependent on the template part slug.
     943         *
     944         * @since 3.0.0
    919945         *
    920946         * @param string $slug Template part slug requested.
     
    10021028    add_filter( 'bp_before_has_members_parse_args', 'bp_nouveau_group_members_widget_overrides', 10, 1 );
    10031029
     1030    /**
     1031     * Fires after BuddyPress Nouveau groups have added their home widget filters.
     1032     *
     1033     * @since 3.0.0
     1034     */
    10041035    do_action( 'bp_nouveau_groups_add_home_widget_filters' );
    10051036}
     
    10151046    remove_filter( 'bp_before_has_members_parse_args', 'bp_nouveau_group_members_widget_overrides', 10, 1 );
    10161047
     1048    /**
     1049     * Fires after BuddyPress Nouveau groups have removed their home widget filters.
     1050     *
     1051     * @since 3.0.0
     1052     */
    10171053    do_action( 'bp_nouveau_groups_remove_home_widget_filters' );
    10181054}
Note: See TracChangeset for help on using the changeset viewer.