- Timestamp:
- 03/18/2018 09:56:44 PM (8 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/bp-templates/bp-nouveau/includes/groups/template-tags.php
r11896 r11899 3 3 * Groups Template tags 4 4 * 5 * @since 1.0.05 * @since 3.0.0 6 6 */ 7 7 … … 13 13 * before the groups directory content 14 14 * 15 * @since 1.0.015 * @since 3.0.0 16 16 */ 17 17 function bp_nouveau_before_groups_directory_content() { … … 42 42 * after the groups directory content 43 43 * 44 * @since 1.0.044 * @since 3.0.0 45 45 */ 46 46 function bp_nouveau_after_groups_directory_content() { … … 77 77 * Fire specific hooks into the groups create template. 78 78 * 79 * @since 1.0.079 * @since 3.0.0 80 80 * 81 81 * @param string $when Optional. Either 'before' or 'after'. … … 102 102 * Fire specific hooks into the single groups templates. 103 103 * 104 * @since 1.0.0104 * @since 3.0.0 105 105 * 106 106 * @param string $when Optional. Either 'before' or 'after'. … … 127 127 * Fire an isolated hook inside the groups loop 128 128 * 129 * @since 1.0.0129 * @since 3.0.0 130 130 */ 131 131 function bp_nouveau_groups_loop_item() { … … 141 141 * Display the current group activity post form if needed 142 142 * 143 * @since 1.0.0143 * @since 3.0.0 144 144 */ 145 145 function bp_nouveau_groups_activity_post_form() { … … 166 166 * Load the Group Invites UI. 167 167 * 168 * @since 1.0.0168 * @since 3.0.0 169 169 * 170 170 * @return string HTML Output. … … 191 191 * Gets the displayed user group invites preferences 192 192 * 193 * @since 1.0.0193 * @since 3.0.0 194 194 * 195 195 * @return int Returns 1 if user chose to restrict to friends, 0 otherwise. … … 202 202 * Outputs the group creation numbered steps navbar 203 203 * 204 * @since 1.0.0204 * @since 3.0.0 205 205 * 206 206 * @todo This output isn't localised correctly. … … 243 243 * @since 1.0.0 244 244 */ 245 246 245 do_action( 'groups_creation_tabs' ); 247 246 } … … 250 249 * Load the requested Create Screen for the new group. 251 250 * 252 * @since 1.0.0251 * @since 3.0.0 253 252 */ 254 253 function bp_nouveau_group_creation_screen() { … … 259 258 * Load the requested Manage Screen for the current group. 260 259 * 261 * @since 1.0.0260 * @since 3.0.0 262 261 */ 263 262 … … 444 443 * Output the action buttons for the displayed group 445 444 * 446 * @since 1.0.0445 * @since 3.0.0 447 446 * 448 447 * @param array $args Optional. See bp_nouveau_wrapper() for the description of parameters. … … 481 480 * Output the action buttons inside the groups loop. 482 481 * 483 * @since 1.0.0482 * @since 3.0.0 484 483 * 485 484 * @param array $args Optional. See bp_nouveau_wrapper() for the description of parameters. … … 513 512 * Output the action buttons inside the invites loop of the displayed user. 514 513 * 515 * @since 1.0.0514 * @since 3.0.0 516 515 * 517 516 * @param array $args Optional. See bp_nouveau_wrapper() for the description of parameters. … … 545 544 * Output the action buttons inside the requests loop of the group's manage screen. 546 545 * 547 * @since 1.0.0546 * @since 3.0.0 548 547 * 549 548 * @param array $args Optional. See bp_nouveau_wrapper() for the description of parameters. … … 577 576 * Output the action buttons inside the manage members loop of the group's manage screen. 578 577 * 579 * @since 1.0.0578 * @since 3.0.0 580 579 * 581 580 * @param array $args Optional. See bp_nouveau_wrapper() for the description of parameters. … … 617 616 * or the current displayed group. 618 617 * 619 * @since 1.0.0618 * @since 3.0.0 620 619 * 621 620 * @param array $args Optional. See bp_nouveau_wrapper() for the description of parameters. … … 977 976 * Filter to add your buttons, use the position argument to choose where to insert it. 978 977 * 979 * @since 1.0.0978 * @since 3.0.0 980 979 * 981 980 * @param array $buttons The list of buttons. 982 981 * @param int $group The current group object. 983 * @par em string $type Whether we're displaying a groups loop or a groups single item.982 * @param string $type Whether we're displaying a groups loop or a groups single item. 984 983 */ 985 984 $buttons_group = apply_filters( 'bp_nouveau_get_groups_buttons', $buttons, $group, $type ); … … 1018 1017 * Leave a chance to adjust the $return 1019 1018 * 1020 * @since 1.0.01019 * @since 3.0.0 1021 1020 * 1022 1021 * @param array $return The list of buttons. … … 1032 1031 * Does the group has meta. 1033 1032 * 1034 * @since 1.0.01033 * @since 3.0.0 1035 1034 * 1036 1035 * @return bool True if the group has meta. False otherwise. … … 1043 1042 * Does the group have extra meta? 1044 1043 * 1045 * @since 1.0.01044 * @since 3.0.0 1046 1045 * 1047 1046 * @return bool True if the group has meta. False otherwise. … … 1054 1053 * Display the group meta. 1055 1054 * 1056 * @since 1.0.01055 * @since 3.0.0 1057 1056 * 1058 1057 * @return string HTML Output. … … 1079 1078 * Get the group meta. 1080 1079 * 1081 * @since 1.0.01080 * @since 3.0.0 1082 1081 * 1083 1082 * @return array The group meta. … … 1127 1126 * Filter to add/remove Group meta. 1128 1127 * 1129 * @since 1.0.01128 * @since 3.0.0 1130 1129 * 1131 1130 * @param array $meta The list of meta to output. … … 1142 1141 * Load the appropriate content for the single group pages 1143 1142 * 1144 * @since 1.0.01143 * @since 3.0.0 1145 1144 */ 1146 1145 function bp_nouveau_group_template_part() { … … 1219 1218 * Use the appropriate Group header and enjoy a template hierarchy 1220 1219 * 1221 * @since 1.0.01220 * @since 3.0.0 1222 1221 */ 1223 1222 function bp_nouveau_group_header_template_part() { … … 1252 1251 * reach the Customizer section where it's possible to do it. 1253 1252 * 1254 * @since 1.0.01253 * @since 3.0.0 1255 1254 * 1256 1255 * @return string HTML Output … … 1270 1269 * reach the Customizer section where it's possible to do it. 1271 1270 * 1272 * @since 1.0.01271 * @since 3.0.0 1273 1272 * 1274 1273 * @return string HTML Output … … 1287 1286 * Output the group description excerpt 1288 1287 * 1289 * @since 1.0.01288 * @since 3.0.0 1290 1289 * 1291 1290 * @param object $group Optional. The group being referenced. … … 1306 1305 * Checks if the group loop is set as a 'Grid' layout and returns a reduced excerpt. 1307 1306 * 1308 * @since 1.0.01307 * @since 3.0.0 1309 1308 * 1310 1309 * @param object $group Optional. The group being referenced. … … 1339 1338 * Filters the excerpt of a group description. 1340 1339 * 1341 * @since 1.0.01340 * @since 3.0.0 1342 1341 * 1343 1342 * @param string $value Excerpt of a group description.
Note: See TracChangeset
for help on using the changeset viewer.