- Timestamp:
- 06/19/2023 06:09:44 PM (3 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/bp-templates/bp-nouveau/includes/blogs/template-tags.php
r13409 r13504 4 4 * 5 5 * @since 3.0.0 6 * @version 6.0.06 * @version 12.0.0 7 7 */ 8 8 … … 184 184 } 185 185 186 /*187 * If we have a arg value for $button_element passed through188 * use it to default all the $buttons['button_element'] values189 * otherwise default to 'a' (anchor)190 * Or override & hardcode the 'element' string on $buttons array.191 *192 * Icons sets a class for icon display if not using the button element193 */194 $icons = '';195 186 if ( ! empty( $args['button_element'] ) ) { 196 187 $button_element = $args['button_element'] ; 197 188 } else { 198 189 $button_element = 'a'; 199 $icons = ' icons'; 200 } 201 202 // If we pass through parent classes add them to $button array 190 } 191 192 // If we pass through parent classes add them to `$button` array. 203 193 $parent_class = ''; 204 194 if ( ! empty( $args['parent_attr']['class'] ) ) {
Note: See TracChangeset
for help on using the changeset viewer.