Changeset 13496
- Timestamp:
- 06/03/2023 07:39:51 AM (19 months ago)
- Location:
- trunk/src/bp-groups
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/bp-groups/bp-groups-activity.php
r13437 r13496 263 263 * 264 264 * @since 2.0.0 265 * 266 * @global wpdb $wpdb WordPress database object. 265 267 * 266 268 * @param array $activities Array of activity items. -
trunk/src/bp-groups/bp-groups-functions.php
r13468 r13496 2464 2464 * @since 1.0.0 2465 2465 * 2466 * @global wpdb $wpdb WordPress database object. 2467 * 2466 2468 * @param int $group_id ID of the group. 2467 2469 * @param string|bool $meta_key The key of the row to delete. … … 3611 3613 * 3612 3614 * @since 5.0.0 3615 * 3616 * @global wpdb $wpdb WordPress database object. 3613 3617 */ 3614 3618 function bp_groups_migrate_invitations() { -
trunk/src/bp-groups/bp-groups-template.php
r13493 r13496 415 415 * @since 7.0.0 Added `$status` parameter. 416 416 * @since 10.0.0 Added `$date_query` parameter. 417 * 418 * @global BP_Groups_Template $groups_template The Groups template loop class. 417 419 * 418 420 * @param array|string $args { … … 591 593 * @since 1.0.0 592 594 * 595 * @global BP_Groups_Template $groups_template The Groups template loop class. 596 * 593 597 * @return bool 594 598 */ … … 602 606 * 603 607 * @since 1.0.0 608 * 609 * @global BP_Groups_Template $groups_template The Groups template loop class. 604 610 * 605 611 * @return BP_Groups_Group … … 696 702 * 697 703 * @since 1.7.0 704 * 705 * @global BP_Groups_Template $groups_template The Groups template loop class. 698 706 * 699 707 * @param array $classes Array of custom classes. … … 2090 2098 * @since 1.2.0 2091 2099 * 2100 * @global BP_Groups_Template $groups_template The Groups template loop class. 2101 * 2092 2102 * @return string 2093 2103 */ … … 2117 2127 * 2118 2128 * @since 1.5.0 2129 * 2130 * @global BP_Groups_Template $groups_template The Groups template loop class. 2119 2131 * 2120 2132 * @return string … … 2503 2515 * 2504 2516 * @since 1.1.0 2517 * 2518 * @global BP_Groups_Template $groups_template The Groups template loop class. 2519 * @global BP_Core_Members_Template $members_template The Members template loop class. 2505 2520 * 2506 2521 * @param array|string $args { … … 2556 2571 * @since 1.1.0 2557 2572 * 2573 * @global BP_Groups_Template $groups_template The Groups template loop class. 2574 * @global BP_Core_Members_Template $members_template The Members template loop class. 2575 * 2558 2576 * @param array|string $args { 2559 2577 * @type int $user_id ID of the member to promote. Default: … … 2612 2630 * @since 10.0.0 Updated to use `bp_get_group`. 2613 2631 * 2632 * @global BP_Core_Members_Template $members_template The Members template loop class. 2633 * 2614 2634 * @param int $user_id ID of the member to demote. Default: 0. 2615 2635 * @param false|int|string|BP_Groups_Group $group (Optional) The Group ID, the Group Slug or the Group object. … … 2665 2685 * @since 10.0.0 Updated to use `bp_get_group`. 2666 2686 * 2687 * @global BP_Core_Members_Template $members_template The Members template loop class. 2688 * 2667 2689 * @param int $user_id ID of the member to ban. Default: 0. 2668 2690 * @param false|int|string|BP_Groups_Group $group (Optional) The Group ID, the Group Slug or the Group object. … … 2717 2739 * @since 10.0.0 Updated to use `bp_get_group`. 2718 2740 * 2741 * @global BP_Core_Members_Template $members_template The Members template loop class. 2742 * 2719 2743 * @param int $user_id ID of the member to unban. Default: 0. 2720 2744 * @param false|int|string|BP_Groups_Group $group (Optional) The Group ID, the Group Slug or the Group object. … … 2769 2793 * @since 10.0.0 Updated to use `bp_get_group`. 2770 2794 * 2795 * @global BP_Core_Members_Template $members_template The Members template loop class. 2796 * 2771 2797 * @param int $user_id ID of the member to remove. Default: 0. 2772 2798 * @param false|int|string|BP_Groups_Group $group (Optional) The Group ID, the Group Slug or the Group object. … … 2808 2834 * @since 1.0.0 2809 2835 * 2836 * @global BP_Core_Members_Template $members_template The Members template loop class. 2837 * 2810 2838 * @param object|bool $group Optional. Group object. 2811 2839 * Default: current group in the loop. … … 3034 3062 * @since 1.0.0 3035 3063 * 3036 * @global BP_Groups_Template $groups_template The mainGroups template loop class.3064 * @global BP_Groups_Template $groups_template The Groups template loop class. 3037 3065 * 3038 3066 * @param object|bool $group Optional. Group to check is_member. … … 3068 3096 * 3069 3097 * @since 2.1.0 3098 * 3099 * @global BP_Core_Members_Template $members_template The Members template loop class. 3070 3100 * 3071 3101 * @param object|bool $group Optional. Group data object. … … 3107 3137 * @since 1.5.0 3108 3138 * 3109 * @global BP_Groups_Template $groups_template The mainGroups template loop class.3139 * @global BP_Groups_Template $groups_template The Groups template loop class. 3110 3140 * 3111 3141 * @param BP_Groups_Group|bool $group Group to check if user is banned. … … 3168 3198 * 3169 3199 * @since 1.0.0 3200 * 3201 * @global BP_Groups_Template $groups_template The Groups template loop class. 3170 3202 * 3171 3203 * @param object|bool $group Optional. Group object. … … 3220 3252 * @since 1.0.0 3221 3253 * 3254 * @global BP_Groups_Template $groups_template The Groups template loop class. 3255 * 3222 3256 * @param object|bool $group Optional. Group object. 3223 3257 * Default: Current group in the loop. … … 3270 3304 * 3271 3305 * @since 1.0.0 3306 * 3307 * @global BP_Groups_Template $groups_template The Groups template loop class. 3272 3308 * 3273 3309 * @param object|bool $group Optional. Group object. … … 3315 3351 * @since 1.0.0 3316 3352 * 3353 * @global BP_Groups_Template $groups_template The Groups template loop class. 3354 * 3317 3355 * @param object|bool $group Optional. Group object. 3318 3356 * Default: Current group in the loop. … … 3350 3388 * 3351 3389 * @since 1.0.0 3390 * 3391 * @global BP_Groups_Template $groups_template The Groups template loop class. 3352 3392 * 3353 3393 * @param object|bool $group Optional. Group object. … … 3384 3424 * @since 1.0.0 3385 3425 * 3426 * @global BP_Groups_Template $groups_template The Groups template loop class. 3427 * 3386 3428 * @param object|bool $group Optional. Group object. 3387 3429 * Default: current group in the loop. … … 3391 3433 global $groups_template; 3392 3434 3393 if ( ! bp_is_active( 'friends' ) ) {3435 if ( ! bp_is_active( 'friends' ) ) { 3394 3436 return false; 3395 3437 } … … 3584 3626 * @since 11.0.0 uses `bp_groups_get_group_join_button_args()`. 3585 3627 * 3628 * @global BP_Groups_Template $groups_template The Groups template loop class. 3629 * 3586 3630 * @param object|bool $group Single group object. 3587 3631 * @return false|string … … 3715 3759 * @since 1.0.0 3716 3760 * 3717 * @global BP_Groups_Template $groups_template The mainGroups template loop class.3761 * @global BP_Groups_Template $groups_template The Groups template loop class. 3718 3762 * 3719 3763 * @param object|null $group Group to get status message for. Optional; defaults to current group. … … 3864 3908 * 3865 3909 * @since 1.0.0 3910 * 3911 * @global BP_Core_Members_Template $members_template The Members template loop class. 3866 3912 * 3867 3913 * @param array|string $args { … … 3950 3996 3951 3997 /** 3952 * @since 1.0.0 3998 * The list of group members. 3999 * 4000 * @since 1.0.0 4001 * 4002 * @global BP_Core_Members_Template $members_template The Members template loop class. 3953 4003 * 3954 4004 * @return mixed … … 3961 4011 3962 4012 /** 3963 * @since 1.0.0 4013 * The current Member being iterated on. 4014 * 4015 * @since 1.0.0 4016 * 4017 * @global BP_Core_Members_Template $members_template The Members template loop class. 3964 4018 * 3965 4019 * @return mixed … … 3985 4039 * 3986 4040 * @since 1.0.0 4041 * 4042 * @global BP_Core_Members_Template $members_template The Members template loop class. 3987 4043 * 3988 4044 * @param array|string $args {@see bp_core_fetch_avatar()}. … … 4029 4085 * @since 1.0.0 4030 4086 * 4087 * @global BP_Core_Members_Template $members_template The Members template loop class. 4088 * 4031 4089 * @param array|string $args {@see bp_core_fetch_avatar()}. 4032 4090 * @return string … … 4072 4130 * 4073 4131 * @since 1.0.0 4132 * 4133 * @global BP_Core_Members_Template $members_template The Members template loop class. 4074 4134 * 4075 4135 * @param int $width Width of avatar to fetch. … … 4105 4165 4106 4166 /** 4167 * Outputs the group member name. 4168 * 4107 4169 * @since 1.0.0 4108 4170 */ … … 4111 4173 } 4112 4174 /** 4175 * Returns the group member's name. 4176 * 4113 4177 * @since 1.0.0 4178 * 4179 * @global BP_Core_Members_Template $members_template The Members template loop class. 4114 4180 * 4115 4181 * @return mixed|void … … 4129 4195 4130 4196 /** 4197 * Outputs the group member's URL. 4198 * 4131 4199 * @since 1.0.0 4132 4200 */ … … 4135 4203 } 4136 4204 /** 4205 * Returns the group member's URL. 4206 * 4137 4207 * @since 1.0.0 4208 * 4209 * @global BP_Core_Members_Template $members_template The Members template loop class. 4138 4210 * 4139 4211 * @return mixed|void … … 4153 4225 4154 4226 /** 4227 * Outputs the group member's link. 4228 * 4155 4229 * @since 1.0.0 4156 4230 */ … … 4159 4233 } 4160 4234 /** 4235 * Returns the group member's link. 4236 * 4161 4237 * @since 1.0.0 4238 * 4239 * @global BP_Core_Members_Template $members_template The Members template loop class. 4162 4240 * 4163 4241 * @return mixed|void … … 4177 4255 4178 4256 /** 4257 * Outputs the group member's domain. 4258 * 4179 4259 * @since 1.2.0 4180 4260 */ … … 4183 4263 } 4184 4264 /** 4265 * Returns the group member's domain. 4266 * 4185 4267 * @since 1.2.0 4268 * 4269 * @global BP_Core_Members_Template $members_template The Members template loop class. 4186 4270 * 4187 4271 * @return mixed|void … … 4201 4285 4202 4286 /** 4287 * Outputs the group member's friendship status with logged in user. 4288 * 4203 4289 * @since 1.2.0 4204 4290 */ … … 4207 4293 } 4208 4294 /** 4295 * Retruns the group member's friendship status with logged in user. 4296 * 4209 4297 * @since 1.2.0 4298 * 4299 * @global BP_Core_Members_Template $members_template The Members template loop class. 4210 4300 * 4211 4301 * @return mixed|void … … 4245 4335 * @since 1.0.0 4246 4336 * 4337 * @global BP_Core_Members_Template $members_template The Members template loop class. 4338 * 4247 4339 * @return bool 4248 4340 */ … … 4301 4393 * @since 1.0.0 4302 4394 * @since 2.7.0 Added $args as a parameter. 4395 * 4396 * @global BP_Core_Members_Template $members_template The Members template loop class. 4303 4397 * 4304 4398 * @param array|string $args { … … 4357 4451 * @since 1.0.0 4358 4452 * 4453 * @global BP_Core_Members_Template $members_template The Members template loop class. 4454 * 4359 4455 * @return int 4360 4456 */ … … 4377 4473 4378 4474 /** 4379 * @since 1.0.0 4475 * Do the list of group members needs a pagination? 4476 * 4477 * @since 1.0.0 4478 * 4479 * @global BP_Core_Members_Template $members_template The Members template loop class. 4380 4480 * 4381 4481 * @return bool … … 4411 4511 4412 4512 /** 4513 * Outputs the group members list pagination links. 4514 * 4413 4515 * @since 1.0.0 4414 4516 */ … … 4418 4520 } 4419 4521 /** 4420 * @since 1.0.0 4522 * Returns the group members list pagination links. 4523 * 4524 * @since 1.0.0 4525 * 4526 * @global BP_Core_Members_Template $members_template The Members template loop class. 4421 4527 * 4422 4528 * @return mixed|void … … 4436 4542 4437 4543 /** 4544 * Outputs the group members list pagination count. 4545 * 4438 4546 * @since 1.0.0 4439 4547 */ … … 4442 4550 } 4443 4551 /** 4552 * Returns the group members list pagination count. 4553 * 4444 4554 * @since 1.0.0 4555 * 4556 * @global BP_Core_Members_Template $members_template The Members template loop class. 4445 4557 * 4446 4558 * @return mixed|void … … 4475 4587 4476 4588 /** 4589 * Outputs the group members list pagination links inside the Group's Manage screen. 4590 * 4477 4591 * @since 1.0.0 4478 4592 */ … … 4482 4596 } 4483 4597 /** 4598 * Returns the group members list pagination links inside the Group's Manage screen. 4599 * 4484 4600 * @since 1.0.0 4601 * 4602 * @global BP_Core_Members_Template $members_template The Members template loop class. 4485 4603 * 4486 4604 * @return mixed
Note: See TracChangeset
for help on using the changeset viewer.