- Timestamp:
- 07/22/2022 10:50:40 AM (3 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/bp-templates/bp-nouveau/includes/members/functions.php
r13136 r13301 159 159 160 160 /** 161 * Catch the arguments for buttons162 *163 * @since 3.0.0164 *165 * @param array $buttons The arguments of the button that BuddyPress is about to create.166 *167 * @return array An empty array to stop the button creation process.168 */169 function bp_nouveau_members_catch_button_args( $button = array() ) {170 /*171 * Globalize the arguments so that we can use it172 * in bp_nouveau_get_member_header_buttons().173 */174 bp_nouveau()->members->button_args = $button;175 176 // return an empty array to stop the button creation process177 return array();178 }179 180 /**181 161 * Catch the content hooked to the do_action hooks in single member header 182 162 * and in the members loop.
Note: See TracChangeset
for help on using the changeset viewer.