Changeset 11530
- Timestamp:
- 04/09/2017 02:56:00 AM (8 years ago)
- Location:
- trunk/src/bp-groups
- Files:
-
- 6 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/bp-groups/bp-groups-admin.php
r11447 r11530 874 874 'group_role' => array( $type ), 875 875 'type' => 'alphabetical', 876 /** 877 * Filters the admin members type per page value. 878 * 879 * @since 2.8.0 880 * 881 * @param int $value Member types per page. Default 10. 882 * @param string $type Member type. 883 */ 876 884 'per_page' => apply_filters( 'bp_groups_admin_members_type_per_page', 10, $type ), 877 885 'page' => $current_type_page, … … 1030 1038 * @since 2.6.0 1031 1039 * 1032 * @param BP_Groups_Group|null $ userThe BP_Groups_Group object corresponding to the group being edited.1040 * @param BP_Groups_Group|null $group The BP_Groups_Group object corresponding to the group being edited. 1033 1041 */ 1034 1042 function bp_groups_admin_edit_metabox_group_type( BP_Groups_Group $group = null ) { … … 1076 1084 * 1077 1085 * @since 2.6.0 1086 * 1087 * @param int $group_id Group ID. 1078 1088 */ 1079 1089 function bp_groups_process_group_type_update( $group_id ) { -
trunk/src/bp-groups/bp-groups-cache.php
r11087 r11530 232 232 * 233 233 * @since 2.6.0 234 * 235 * @param BP_Groups_Member $member BP Groups Member instance. 234 236 */ 235 237 function bp_groups_clear_user_group_cache_on_membership_save( BP_Groups_Member $member ) { … … 244 246 * 245 247 * @since 2.6.0 248 * 249 * @param int $user_id Current user ID. 250 * @param int $group_id Current group ID. 246 251 */ 247 252 function bp_groups_clear_user_group_cache_on_other_events( $user_id, $group_id ) { -
trunk/src/bp-groups/bp-groups-functions.php
r11523 r11530 271 271 * @param string|bool $invite_status Optional. Who is allowed to send invitations 272 272 * to the group. 'members', 'mods', or 'admins'. 273 * @param int|bool $parent_id Parent group ID. 273 274 * @return bool True on success, false on failure. 274 275 */ … … 2311 2312 * @since 2.7.0 $group_type parameter also accepts an array of group types now. 2312 2313 * 2313 * @param int $group 2314 * @param int $group_id ID of the group. 2314 2315 * @param string|array $group_type Group type or array of group types to set. 2315 2316 * @param bool $append Optional. True to append this to existing types for group, … … 2412 2413 * @since 2.6.0 2413 2414 * 2414 * @param int $group 2415 * @param int $group_id ID of the user. 2415 2416 * @param string $group_type Group type. 2416 2417 * @return bool|WP_Error $deleted True on success. False or WP_Error on failure. -
trunk/src/bp-groups/bp-groups-template.php
r11527 r11530 209 209 * 210 210 * @param int $group_id Group ID. Defaults to current group ID if on a group page. 211 * @param array|string $ args{211 * @param array|string $r { 212 212 * Array of parameters. All items are optional. 213 213 * @type string $parent_element Element to wrap around the list. Defaults to 'p'. … … 3787 3787 * @since 1.0.0 3788 3788 * 3789 * @return type3789 * @return int 3790 3790 */ 3791 3791 function bp_get_total_group_count() { -
trunk/src/bp-groups/classes/class-bp-groups-group.php
r11526 r11530 470 470 * @since 2.7.0 471 471 * 472 * @param string $key Property name. 472 * @param string $key Property name. 473 * @param mixed $value Property value. 474 * @return bool 473 475 */ 474 476 public function __set( $key, $value ) { -
trunk/src/bp-groups/classes/class-bp-groups-list-table.php
r11440 r11530 707 707 * @since 2.7.0 708 708 * 709 * @param string $ valueEmpty string.709 * @param string $retval Empty string. 710 710 * @param string $column_name Name of the column being rendered. 711 711 * @param array $item The current group item in the loop. 712 * @return string 712 713 */ 713 714 public function column_content_group_type( $retval = '', $column_name, $item ) {
Note: See TracChangeset
for help on using the changeset viewer.