Changeset 13303 for trunk/src/bp-core/deprecated/11.0.php
- Timestamp:
- 07/22/2022 12:54:40 PM (2 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/bp-core/deprecated/11.0.php
r13302 r13303 57 57 return array(); 58 58 } 59 60 /** 61 * Catch the arguments for buttons 62 * 63 * @since 3.0.0 64 * @deprecated 11.0.0 65 * 66 * @param array $buttons The arguments of the button that BuddyPress is about to create. 67 * 68 * @return array An empty array to stop the button creation process. 69 */ 70 function bp_nouveau_blogs_catch_button_args( $button = array() ) { 71 _deprecated_function( __FUNCTION__, '11.0.0' ); 72 73 // Globalize the arguments so that we can use it in bp_nouveau_get_blogs_buttons(). 74 bp_nouveau()->blogs->button_args = $button; 75 76 // return an empty array to stop the button creation process 77 return array(); 78 }
Note: See TracChangeset
for help on using the changeset viewer.