- Timestamp:
- 07/22/2022 12:54:40 PM (3 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/bp-templates/bp-nouveau/includes/blogs/functions.php
r12908 r13303 117 117 118 118 /** 119 * Catch the arguments for buttons120 *121 * @since 3.0.0122 *123 * @param array $buttons The arguments of the button that BuddyPress is about to create.124 *125 * @return array An empty array to stop the button creation process.126 */127 function bp_nouveau_blogs_catch_button_args( $button = array() ) {128 // Globalize the arguments so that we can use it in bp_nouveau_get_blogs_buttons().129 bp_nouveau()->blogs->button_args = $button;130 131 // return an empty array to stop the button creation process132 return array();133 }134 135 /**136 119 * Add settings to the customizer for the blogs component. 137 120 *
Note: See TracChangeset
for help on using the changeset viewer.