Changeset 10148 for trunk/src/bp-groups/bp-groups-template.php
- Timestamp:
- 09/27/2015 05:25:02 AM (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/bp-groups/bp-groups-template.php
r10126 r10148 1 1 <?php 2 3 2 /** 4 3 * BuddyPress Groups Template Functions. 5 */ 6 7 // Exit if accessed directly 4 * 5 * @package BuddyPress 6 * @subpackage GroupsTemplates 7 */ 8 9 // Exit if accessed directly. 8 10 defined( 'ABSPATH' ) || exit; 9 11 … … 11 13 * Output the groups component slug. 12 14 * 13 * @since BuddyPress (1.5.0)15 * @since 1.5.0 14 16 */ 15 17 function bp_groups_slug() { … … 19 21 * Return the groups component slug. 20 22 * 21 * @since BuddyPress (1.5.0)23 * @since 1.5.0 22 24 * 23 25 * @return string … … 28 30 * Filters the groups component slug. 29 31 * 30 * @since BuddyPress (1.5.0)32 * @since 1.5.0 31 33 * 32 34 * @param string $slug Groups component slug. … … 38 40 * Output the groups component root slug. 39 41 * 40 * @since BuddyPress (1.5.0)42 * @since 1.5.0 41 43 */ 42 44 function bp_groups_root_slug() { … … 46 48 * Return the groups component root slug. 47 49 * 48 * @since BuddyPress (1.5.0)50 * @since 1.5.0 49 51 * 50 52 * @return string … … 55 57 * Filters the groups component root slug. 56 58 * 57 * @since BuddyPress (1.5.0)59 * @since 1.5.0 58 60 * 59 61 * @param string $root_slug Groups component root slug. … … 65 67 * Output group directory permalink. 66 68 * 67 * @since BuddyPress (1.5.0)69 * @since 1.5.0 68 70 */ 69 71 function bp_groups_directory_permalink() { … … 73 75 * Return group directory permalink. 74 76 * 75 * @since BuddyPress (1.5.0)77 * @since 1.5.0 76 78 * 77 79 * @return string … … 82 84 * Filters the group directory permalink. 83 85 * 84 * @since BuddyPress (1.5.0)86 * @since 1.5.0 85 87 * 86 88 * @param string $value Permalink for the group directory. … … 427 429 * Fires right before the rewinding of groups list. 428 430 * 429 * @since BuddyPress (1.5.0)431 * @since 1.5.0 430 432 */ 431 433 do_action('group_loop_end'); … … 456 458 * Fires if the current group item is the first in the loop. 457 459 * 458 * @since BuddyPress (1.1.0)460 * @since 1.1.0 459 461 */ 460 462 do_action( 'group_loop_start' ); … … 466 468 * Start the Groups Template Loop. 467 469 * 468 * @since BuddyPress (1.0.0)470 * @since 1.0.0 469 471 * 470 472 * @param array|string $args { … … 587 589 * Filters whether or not there are groups to iterate over for the groups loop. 588 590 * 589 * @since BuddyPress (1.1.0)591 * @since 1.1.0 590 592 * 591 593 * @param bool $value Whether or not there are groups to iterate over. … … 671 673 * Filters the ID of the current group in the loop. 672 674 * 673 * @since BuddyPress (1.0.0)675 * @since 1.0.0 674 676 * 675 677 * @param int $id ID of the current group in the loop. … … 681 683 * Output the row class of the current group in the loop. 682 684 * 683 * @since BuddyPress (1.7.0)685 * @since 1.7.0 684 686 * 685 687 * @param array $classes Array of custom classes. … … 691 693 * Get the row class of the current group in the loop. 692 694 * 693 * @since BuddyPress (1.7.0)695 * @since 1.7.0 694 696 * 695 697 * @param array $classes Array of custom classes. … … 742 744 * Filters classes that will be applied to row class of the current group in the loop. 743 745 * 744 * @since BuddyPress (1.7.0)746 * @since 1.7.0 745 747 * 746 748 * @param array $classes Array of determined classes for the row. … … 780 782 * Filters the name of the current group in the loop. 781 783 * 782 * @since BuddyPress (1.0.0)784 * @since 1.0.0 783 785 * 784 786 * @param string $name Name of the current group in the loop. … … 825 827 * Filters the type for the current group in the loop. 826 828 * 827 * @since BuddyPress (1.0.0)829 * @since 1.0.0 828 830 * 829 831 * @param string $type Type for the current group in the loop. … … 858 860 * Filters the status of the current group in the loop. 859 861 * 860 * @since BuddyPress (1.0.0)862 * @since 1.0.0 861 863 * 862 864 * @param string $status Status of the current group in the loop. … … 868 870 * Output the group avatar while in the groups loop. 869 871 * 870 * @since BuddyPress (1.0.0)872 * @since 1.0.0 871 873 * 872 874 * @param array|string $args { … … 880 882 * Get a group's avatar. 881 883 * 882 * @since BuddyPress (1.0.0)884 * @since 1.0.0 883 885 * 884 886 * @see bp_core_fetch_avatar() For a description of arguments and return values. … … 937 939 * Filters the group avatar while in the groups loop. 938 940 * 939 * @since BuddyPress (1.0.0)941 * @since 1.0.0 940 942 * 941 943 * @param string $avatar HTML image element holding the group avatar. … … 948 950 * Output the group avatar thumbnail while in the groups loop. 949 951 * 950 * @since BuddyPress (1.0.0)952 * @since 1.0.0 951 953 * 952 954 * @param object|bool $group Optional. Group object. … … 959 961 * Return the group avatar thumbnail while in the groups loop. 960 962 * 961 * @since BuddyPress (1.0.0)963 * @since 1.0.0 962 964 * 963 965 * @param object|bool $group Optional. Group object. … … 976 978 * Output the miniature group avatar thumbnail while in the groups loop. 977 979 * 978 * @since BuddyPress (1.0.0)980 * @since 1.0.0 979 981 * 980 982 * @param object|bool $group Optional. Group object. … … 987 989 * Return the miniature group avatar thumbnail while in the groups loop. 988 990 * 989 * @since BuddyPress (1.0.0)991 * @since 1.0.0 990 992 * 991 993 * @param object|bool $group Optional. Group object. … … 1040 1042 * Filters the 'last active' string for the current gorup in the loop. 1041 1043 * 1042 * @since BuddyPress (1.0.0)1044 * @since 1.0.0 1043 1045 * 1044 1046 * @param string $value Determined last active value for the current group. … … 1075 1077 * Filters the permalink for the current group in the loop. 1076 1078 * 1077 * @since BuddyPress (1.0.0)1079 * @since 1.0.0 1078 1080 * 1079 1081 * @param string $value Permalink for the current group in the loop. … … 1109 1111 * Filters the permalink for the admin section of the current group in the loop. 1110 1112 * 1111 * @since BuddyPress (1.0.0)1113 * @since 1.0.0 1112 1114 * 1113 1115 * @param string $value Permalink for the admin section of the current group in the loop. … … 1143 1145 * Filters the slug for the current group in the loop. 1144 1146 * 1145 * @since BuddyPress (1.0.0)1147 * @since 1.0.0 1146 1148 * 1147 1149 * @param string $slug Slug for the current group in the loop. … … 1177 1179 * Filters the description for the current group in the loop. 1178 1180 * 1179 * @since BuddyPress (1.0.0)1181 * @since 1.0.0 1180 1182 * 1181 1183 * @param string $value Description for the current group. … … 1219 1221 * appropriate for "raw" editing. 1220 1222 * 1221 * @since BuddyPress (1.0.0)1223 * @since 1.0.0 1222 1224 * 1223 1225 * @param string $description Description for the current group in the loop. … … 1255 1257 * Filters the excerpt of a group description. 1256 1258 * 1257 * @since BuddyPress (1.0.0)1259 * @since 1.0.0 1258 1260 * 1259 1261 * @param string $value Excerpt of a group description. … … 1356 1358 * Filters the created date of the current group in the loop. 1357 1359 * 1358 * @since BuddyPress (1.0.0)1360 * @since 1.0.0 1359 1361 * 1360 1362 * @param string $value Created date for the current group. … … 1390 1392 * Filters the username of the creator of the current group in the loop. 1391 1393 * 1392 * @since BuddyPress (1.7.0)1394 * @since 1.7.0 1393 1395 * 1394 1396 * @param string $value Username of the group creator. … … 1424 1426 * Filters the user ID of the creator of the current group in the loop. 1425 1427 * 1426 * @since BuddyPress (1.7.0)1428 * @since 1.7.0 1427 1429 * 1428 1430 * @param int $creator_id User ID of the group creator. … … 1458 1460 * Filters the permalink of the creator of the current group in the loop. 1459 1461 * 1460 * @since BuddyPress (1.7.0)1462 * @since 1.7.0 1461 1463 * 1462 1464 * @param string $value Permalink of the group creator. … … 1543 1545 * Filters the avatar of the creator of the current group in the loop. 1544 1546 * 1545 * @since BuddyPress (1.7.0)1547 * @since 1.7.0 1546 1548 * 1547 1549 * @param string $avatar Avatar of the group creator. … … 1663 1665 * Return a list of user IDs for a group's admins. 1664 1666 * 1665 * @since BuddyPress (1.5.0)1667 * @since 1.5.0 1666 1668 * 1667 1669 * @param BP_Groups_Group|bool $group Optional. The group being queried. Defaults … … 1695 1697 * This filter may return either an array or a comma separated string. 1696 1698 * 1697 * @since BuddyPress (1.5.0)1699 * @since 1.5.0 1698 1700 * 1699 1701 * @param array|string $admin_ids List of user IDs for a group's admins. … … 1705 1707 * Return a list of user IDs for a group's moderators. 1706 1708 * 1707 * @since BuddyPress (1.5.0)1709 * @since 1.5.0 1708 1710 * 1709 1711 * @param BP_Groups_Group|bool $group Optional. The group being queried. … … 1737 1739 * This filter may return either an array or a comma separated string. 1738 1740 * 1739 * @since BuddyPress (1.5.0)1741 * @since 1.5.0 1740 1742 * 1741 1743 * @param array|string $admin_ids List of user IDs for a group's moderators. … … 1768 1770 * Filters the permalink of the Members page for the current group in the loop. 1769 1771 * 1770 * @since BuddyPress (1.0.0)1772 * @since 1.0.0 1771 1773 * 1772 1774 * @param string $value Permalink of the Members page for the current group. … … 1850 1852 * Filters the pagination HTML for a group loop. 1851 1853 * 1852 * @since BuddyPress (1.2.0)1854 * @since 1.2.0 1853 1855 * 1854 1856 * @param string $pag_links HTML markup for the pagination links. … … 1885 1887 * Filters the "Viewing x-y of z groups" pagination message. 1886 1888 * 1887 * @since BuddyPress (1.5.0)1889 * @since 1.5.0 1888 1890 * 1889 1891 * @param string $message "Viewing x-y of z groups" text. … … 1941 1943 * Filters the total member count for a group. 1942 1944 * 1943 * @since BuddyPress (1.0.0)1945 * @since 1.0.0 1944 1946 * 1945 1947 * @param int $total_member_count Total member count for a group. … … 1973 1975 * Filters the "x members" count string for a group. 1974 1976 * 1975 * @since BuddyPress (1.2.0)1977 * @since 1.2.0 1976 1978 * 1977 1979 * @param string $count_string The "x members" count string for a group. … … 2004 2006 * Filters the URL of the Forum page of a group. 2005 2007 * 2006 * @since BuddyPress (1.0.0)2008 * @since 1.0.0 2007 2009 * 2008 2010 * @param string $value URL permalink for the Forum Page. … … 2065 2067 * Filters the topic count string for a group forum. 2066 2068 * 2067 * @since BuddyPress (1.2.0)2069 * @since 1.2.0 2068 2070 * 2069 2071 * @param string $total_topics Total topic count string. … … 2127 2129 * Filters the post count string for a group forum. 2128 2130 * 2129 * @since BuddyPress (1.2.0)2131 * @since 1.2.0 2130 2132 * 2131 2133 * @param string $total_posts Total post count string. … … 2194 2196 * Output the 'checked' value, if needed, for a given invite_status on the group create/admin screens 2195 2197 * 2196 * @since BuddyPress (1.5.0)2198 * @since 1.5.0 2197 2199 * 2198 2200 * @param string $setting The setting you want to check against ('members', … … 2221 2223 * This function can be used either in or out of the loop. 2222 2224 * 2223 * @since BuddyPress (1.5.0)2225 * @since 1.5.0 2224 2226 * 2225 2227 * @param int|bool $group_id Optional. The ID of the group whose status you want to … … 2260 2262 * Invite status in this case means who from the group can send invites. 2261 2263 * 2262 * @since BuddyPress (1.5.0)2264 * @since 1.5.0 2263 2265 * 2264 2266 * @param string $invite_status Membership level needed to send an invite. … … 2271 2273 * Can a user send invitations in the specified group? 2272 2274 * 2273 * @since BuddyPress (1.5.0)2274 * @since BuddyPress (2.2.0)Added the $user_id parameter.2275 * @since 1.5.0 2276 * @since 2.2.0 Added the $user_id parameter. 2275 2277 * 2276 2278 * @param int $group_id The group ID to check. … … 2324 2326 * Filters whether a user can send invites in a group. 2325 2327 * 2326 * @since BuddyPress (1.5.0)2327 * @since BuddyPress (2.2.0)Added the $user_id parameter.2328 * @since 1.5.0 2329 * @since 2.2.0 Added the $user_id parameter. 2328 2330 * 2329 2331 * @param bool $can_send_invites Whether the user can send invites … … 2341 2343 * @deprecated 1.5 2342 2344 * @deprecated No longer used. 2343 * @since BuddyPress (1.0.0)2345 * @since 1.0.0 2344 2346 * @todo Remove in 1.4 2345 2347 * … … 2506 2508 * Filters whether a group has moderators. 2507 2509 * 2508 * @since BuddyPress (1.0.0)2510 * @since 1.0.0 2509 2511 * 2510 2512 * @param array $value Array of user IDs who are a moderator of the provided group. … … 2545 2547 * Filters a URL for promoting a user to moderator. 2546 2548 * 2547 * @since BuddyPress (1.1.0)2549 * @since 1.1.0 2548 2550 * 2549 2551 * @param string $value URL to use for promoting a user to moderator. … … 2584 2586 * Filters a URL for promoting a user to admin. 2585 2587 * 2586 * @since BuddyPress (1.1.0)2588 * @since 1.1.0 2587 2589 * 2588 2590 * @param string $value URL to use for promoting a user to admin. … … 2629 2631 * Filters a URL for demoting a user to member. 2630 2632 * 2631 * @since BuddyPress (1.0.0)2633 * @since 1.0.0 2632 2634 * 2633 2635 * @param string $value URL to use for demoting a user to member. … … 2670 2672 * Filters a URL for banning a member from a group. 2671 2673 * 2672 * @since BuddyPress (1.0.0)2674 * @since 1.0.0 2673 2675 * 2674 2676 * @param string $value URL to use for banning a member. … … 2715 2717 * Filters a URL for unbanning a member from a group. 2716 2718 * 2717 * @since BuddyPress (1.0.0)2719 * @since 1.0.0 2718 2720 * 2719 2721 * @param string $value URL to use for unbanning a member. … … 2756 2758 * Filters a URL for removing a member from a group. 2757 2759 * 2758 * @since BuddyPress (1.2.6)2760 * @since 1.2.6 2759 2761 * 2760 2762 * @param string $value URL to use for removing a member. … … 2837 2839 * FIlters the group count for a displayed user. 2838 2840 * 2839 * @since BuddyPress (1.1.0)2841 * @since 1.1.0 2840 2842 * 2841 2843 * @param int $value Total group count for a displayed user. … … 2871 2873 * Filters the 'action' attribute for a group form. 2872 2874 * 2873 * @since BuddyPress (1.0.0)2875 * @since 1.0.0 2874 2876 * 2875 2877 * @param string $value Action attribute for a group form. … … 2909 2911 * Filters the 'action' attribute for a group admin form. 2910 2912 * 2911 * @since BuddyPress (1.0.0)2913 * @since 1.0.0 2912 2914 * 2913 2915 * @param string $value Action attribute for a group admin form. … … 2963 2965 * Filters whether current user is member of a group. 2964 2966 * 2965 * @since BuddyPress (1.2.4)2967 * @since 1.2.4 2966 2968 * 2967 2969 * @param bool $is_member If user is a member of group or not. … … 2988 2990 * Filters whether current user has an outstanding invite to current group in loop. 2989 2991 * 2990 * @since BuddyPress (2.1.0)2992 * @since 2.1.0 2991 2993 * 2992 2994 * @param bool $is_invited If user has an outstanding group invite. … … 3008 3010 * capability, the return value would be boolean false. 3009 3011 * 3010 * @since BuddyPress (1.5.0)3012 * @since 1.5.0 3011 3013 * 3012 3014 * @global BP_Groups_Template $groups_template Group template loop object. … … 3051 3053 * Filters whether current user has been banned from current group in loop. 3052 3054 * 3053 * @since BuddyPress (1.5.0)3055 * @since 1.5.0 3054 3056 * 3055 3057 * @param bool $is_invited If user has been from current group. … … 3084 3086 * Filters the URL for accepting an invitation to a group. 3085 3087 * 3086 * @since BuddyPress (1.0.0)3088 * @since 1.0.0 3087 3089 * 3088 3090 * @param string $value URL for accepting an invitation to a group. … … 3117 3119 * Filters the URL for rejecting an invitation to a group. 3118 3120 * 3119 * @since BuddyPress (1.0.0)3121 * @since 1.0.0 3120 3122 * 3121 3123 * @param string $value URL for rejecting an invitation to a group. … … 3148 3150 * Filters the URL for confirming a request to leave a group. 3149 3151 * 3150 * @since BuddyPress (1.0.0)3152 * @since 1.0.0 3151 3153 * 3152 3154 * @param string $value URL for confirming a request to leave a group. … … 3179 3181 * Filters the URL for rejecting a request to leave a group. 3180 3182 * 3181 * @since BuddyPress (1.0.0)3183 * @since 1.0.0 3182 3184 * 3183 3185 * @param string $value URL for rejecting a request to leave a group. … … 3210 3212 * Filters the 'action' attribute for a group send invite form. 3211 3213 * 3212 * @since BuddyPress (1.0.0)3214 * @since 1.0.0 3213 3215 * 3214 3216 * @param string $value Action attribute for a group send invite form. … … 3246 3248 * Output a 'New Topic' button for a group. 3247 3249 * 3248 * @since BuddyPress (1.2.7)3250 * @since 1.2.7 3249 3251 * 3250 3252 * @param BP_Groups_Group|bool $group The BP Groups_Group object if passed, … … 3258 3260 * Returns a 'New Topic' button for a group. 3259 3261 * 3260 * @since BuddyPress (1.2.7)3262 * @since 1.2.7 3261 3263 * 3262 3264 * @param BP_Groups_Group|bool $group The BP Groups_Group object if … … 3292 3294 * Filters the HTML button for creating a new topic in a group. 3293 3295 * 3294 * @since BuddyPress (1.5.0)3296 * @since 1.5.0 3295 3297 * 3296 3298 * @param string $button HTML button for a new topic. … … 3302 3304 * Output button to join a group. 3303 3305 * 3304 * @since BuddyPress (1.0.0)3306 * @since 1.0.0 3305 3307 * 3306 3308 * @param object|bool $group Single group object. … … 3312 3314 * Return button to join a group. 3313 3315 * 3314 * @since BuddyPress (1.0.0)3316 * @since 1.0.0 3315 3317 * 3316 3318 * @param object|bool $group Single group object. … … 3440 3442 * Filters the HTML button for joining a group. 3441 3443 * 3442 * @since BuddyPress (1.2.6)3443 * @since BuddyPress (2.4.0)Added $group parameter to filter args.3444 * @since 1.2.6 3445 * @since 2.4.0 Added $group parameter to filter args. 3444 3446 * 3445 3447 * @param string $button HTML button for joining a group. … … 3452 3454 * Output the Create a Group button. 3453 3455 * 3454 * @since BuddyPress (2.0.0)3456 * @since 2.0.0 3455 3457 */ 3456 3458 function bp_group_create_button() { … … 3460 3462 * Get the Create a Group button. 3461 3463 * 3462 * @since BuddyPress (2.0.0)3464 * @since 2.0.0 3463 3465 * 3464 3466 * @return string … … 3487 3489 * Filters the HTML button for creating a group. 3488 3490 * 3489 * @since BuddyPress (2.0.0)3491 * @since 2.0.0 3490 3492 * 3491 3493 * @param string $button HTML button for creating a group. … … 3497 3499 * Output the Create a Group nav item. 3498 3500 * 3499 * @since BuddyPress (2.2.0)3501 * @since 2.2.0 3500 3502 */ 3501 3503 function bp_group_create_nav_item() { … … 3506 3508 * Get the Create a Group nav item. 3507 3509 * 3508 * @since BuddyPress (2.2.0)3510 * @since 2.2.0 3509 3511 * 3510 3512 * @return string … … 3524 3526 * Filters the Create a Group nav item. 3525 3527 * 3526 * @since BuddyPress (2.2.0)3528 * @since 2.2.0 3527 3529 * 3528 3530 * @param string $output HTML output for nav item. … … 3535 3537 * if so, transform the title button into a Groups directory nav item. 3536 3538 * 3537 * @since BuddyPress (2.2.0)3539 * @since 2.2.0 3538 3540 * 3539 3541 * @uses bp_group_create_nav_item() to output the create a Group nav item. … … 3559 3561 * hidden or private group, and the user does not have access). 3560 3562 * 3561 * @since BuddyPress (1.0.0)3563 * @since 1.0.0 3562 3564 * 3563 3565 * @global BP_Groups_Template $groups_template Groups template object. … … 3611 3613 * This will be true if it is a hidden or private group, and the user does not have access. 3612 3614 * 3613 * @since BuddyPress (1.6.0)3615 * @since 1.6.0 3614 3616 * 3615 3617 * @param string $message Message to display to the current user. … … 3624 3626 * This function is no longer used, but may still be used by older themes. 3625 3627 * 3626 * @since BuddyPress (1.0.0)3628 * @since 1.0.0 3627 3629 */ 3628 3630 function bp_group_hidden_fields() { … … 3643 3645 * Output the total number of groups. 3644 3646 * 3645 * @since BuddyPress (1.0.0)3647 * @since 1.0.0 3646 3648 */ 3647 3649 function bp_total_group_count() { … … 3651 3653 * Return the total number of groups. 3652 3654 * 3653 * @since BuddyPress (1.0.0)3655 * @since 1.0.0 3654 3656 * @return type 3655 3657 */ … … 3659 3661 * Filters the total number of groups. 3660 3662 * 3661 * @since BuddyPress (1.0.0)3663 * @since 1.0.0 3662 3664 * 3663 3665 * @param int $value Total number of groups found. … … 3669 3671 * Output the total number of groups a user belongs to. 3670 3672 * 3671 * @since BuddyPress (1.0.0)3673 * @since 1.0.0 3672 3674 * 3673 3675 * @param int $user_id User ID to get group membership count. … … 3681 3683 * Filtered by `bp_core_number_format()` by default 3682 3684 * 3683 * @since BuddyPress (1.0.0)3685 * @since 1.0.0 3684 3686 * 3685 3687 * @param int $user_id User ID to get group membership count. … … 3693 3695 * Filters the total number of groups a user belongs to. 3694 3696 * 3695 * @since BuddyPress (1.2.0)3697 * @since 1.2.0 3696 3698 * 3697 3699 * @param int $count Total number of groups for the user. … … 3855 3857 * Fires right before the rewinding of members list. 3856 3858 * 3857 * @since BuddyPress (1.0.0)3858 * @since BuddyPress (2.3.0)`$this` parameter added.3859 * @since 1.0.0 3860 * @since 2.3.0 `$this` parameter added. 3859 3861 * 3860 3862 * @param BP_Groups_Group_Members_Template $this Instance of the current Members template. … … 3880 3882 * Fires if the current member item is the first in the members list. 3881 3883 * 3882 * @since BuddyPress (1.0.0)3883 * @since BuddyPress (2.3.0)`$this` parameter added.3884 * @since 1.0.0 3885 * @since 2.3.0 `$this` parameter added. 3884 3886 * 3885 3887 * @param BP_Groups_Group_Members_Template $this Instance of the current Members template. … … 3948 3950 * Filters whether or not a group member query has members to display. 3949 3951 * 3950 * @since BuddyPress (1.1.0)3952 * @since 1.1.0 3951 3953 * 3952 3954 * @param bool $value Whether there are members to display. … … 3971 3973 * Output the group member avatar while in the groups members loop. 3972 3974 * 3973 * @since BuddyPress (1.0.0)3975 * @since 1.0.0 3974 3976 * 3975 3977 * @param array|string $args {@see bp_core_fetch_avatar()} … … 3981 3983 * Return the group member avatar while in the groups members loop. 3982 3984 * 3983 * @since BuddyPress (1.0.0)3985 * @since 1.0.0 3984 3986 * 3985 3987 * @param array|string $args {@see bp_core_fetch_avatar()} … … 4000 4002 * Filters the group member avatar while in the groups members loop. 4001 4003 * 4002 * @since BuddyPress (1.0.0)4004 * @since 1.0.0 4003 4005 * 4004 4006 * @param string $value HTML markup for group member avatar. … … 4011 4013 * Output the group member avatar while in the groups members loop. 4012 4014 * 4013 * @since BuddyPress (1.0.0)4015 * @since 1.0.0 4014 4016 * 4015 4017 * @param array|string $args {@see bp_core_fetch_avatar()} … … 4022 4024 * Return the group member avatar while in the groups members loop. 4023 4025 * 4024 * @since BuddyPress (1.0.0)4026 * @since 1.0.0 4025 4027 * 4026 4028 * @param array|string $args {@see bp_core_fetch_avatar()} … … 4041 4043 * Filters the group member avatar thumb while in the groups members loop. 4042 4044 * 4043 * @since BuddyPress (1.1.0)4045 * @since 1.1.0 4044 4046 * 4045 4047 * @param string $value HTML markup for group member avatar thumb. … … 4052 4054 * Output the group member avatar while in the groups members loop. 4053 4055 * 4054 * @since BuddyPress (1.0.0)4056 * @since 1.0.0 4055 4057 * 4056 4058 * @param int $width Width of avatar to fetch. … … 4063 4065 * Output the group member avatar while in the groups members loop. 4064 4066 * 4065 * @since BuddyPress (1.0.0)4067 * @since 1.0.0 4066 4068 * 4067 4069 * @param int $width Width of avatar to fetch. … … 4085 4087 * Filters the group member avatar mini while in the groups members loop. 4086 4088 * 4087 * @since BuddyPress (1.0.0)4089 * @since 1.0.0 4088 4090 * 4089 4091 * @param string $value HTML markup for group member avatar mini. … … 4102 4104 * Filters the group member display name of the current user in the loop. 4103 4105 * 4104 * @since BuddyPress (1.0.0)4106 * @since 1.0.0 4105 4107 * 4106 4108 * @param string $display_name Display name of the current user. … … 4118 4120 * Filters the group member url for the current user in the loop. 4119 4121 * 4120 * @since BuddyPress (1.0.0)4122 * @since 1.0.0 4121 4123 * 4122 4124 * @param string $value URL for the current user. … … 4134 4136 * Filters the group member HTML link for the current user in the loop. 4135 4137 * 4136 * @since BuddyPress (1.0.0)4138 * @since 1.0.0 4137 4139 * 4138 4140 * @param string $value HTML link for the current user. … … 4150 4152 * Filters the group member domain for the current user in the loop. 4151 4153 * 4152 * @since BuddyPress (1.2.0)4154 * @since 1.2.0 4153 4155 * 4154 4156 * @param string $value Domain for the current user. … … 4174 4176 * Filters the friendship status between current user and displayed user in group member loop. 4175 4177 * 4176 * @since BuddyPress (1.2.0)4178 * @since 1.2.0 4177 4179 * 4178 4180 * @param string $friend_status Current status of the friendship. … … 4190 4192 * Filters whether the member is banned from the current group. 4191 4193 * 4192 * @since BuddyPress (1.0.0)4194 * @since 1.0.0 4193 4195 * 4194 4196 * @param bool $is_banned Whether or not the member is banned. … … 4205 4207 * Filters the class to add to the HTML if member is banned. 4206 4208 * 4207 * @since BuddyPress (1.2.6)4209 * @since 1.2.6 4208 4210 * 4209 4211 * @param string $value HTML class to add. … … 4222 4224 * Filters the joined since time for the current member in the loop. 4223 4225 * 4224 * @since BuddyPress (1.0.0)4226 * @since 1.0.0 4225 4227 * 4226 4228 * @param string $value Joined since time. … … 4238 4240 * Filters the member's user ID for group members loop. 4239 4241 * 4240 * @since BuddyPress (1.0.0)4242 * @since 1.0.0 4241 4243 * 4242 4244 * @param int $user_id User ID of the member. … … 4263 4265 * Filters the string to be used as the group pag id. 4264 4266 * 4265 * @since BuddyPress (1.0.0)4267 * @since 1.0.0 4266 4268 * 4267 4269 * @param string $value Value to use for the pag id. … … 4280 4282 * Filters the HTML markup to be used for group member listing pagination. 4281 4283 * 4282 * @since BuddyPress (1.0.0)4284 * @since 1.0.0 4283 4285 * 4284 4286 * @param string $pag_links HTML markup for the pagination. … … 4307 4309 * Filters the "Viewing x-y of z members" pagination message. 4308 4310 * 4309 * @since BuddyPress (1.0.0)4311 * @since 1.0.0 4310 4312 * 4311 4313 * @param string $value "Viewing x-y of z members" text. … … 4330 4332 * Output the Group members template 4331 4333 * 4332 * @since BuddyPress (2.0.0)4334 * @since 2.0.0 4333 4335 * 4334 4336 * @return string html output … … 4350 4352 * Part of bp_groups_members_template_part(). 4351 4353 * 4352 * @since BuddyPress (1.5.0)4354 * @since 1.5.0 4353 4355 */ 4354 4356 do_action( 'bp_members_directory_member_sub_types' ); ?> … … 4368 4370 * Output the Group members filters 4369 4371 * 4370 * @since BuddyPress (2.0.0)4372 * @since 2.0.0 4371 4373 * 4372 4374 * @return string html output … … 4393 4395 * Useful for plugins to add more filter options. 4394 4396 * 4395 * @since BuddyPress (2.0.0)4397 * @since 2.0.0 4396 4398 */ 4397 4399 do_action( 'bp_groups_members_order_options' ); ?> … … 4409 4411 * Determine if the current logged in user can create groups. 4410 4412 * 4411 * @since BuddyPress (1.5.0)4413 * @since 1.5.0 4412 4414 * 4413 4415 * @uses apply_filters() To call 'bp_user_can_create_groups'. … … 4438 4440 * Filters if the current logged in user can create groups. 4439 4441 * 4440 * @since BuddyPress (1.5.0)4442 * @since 1.5.0 4441 4443 * 4442 4444 * @param bool $can_create Whether the person can create groups. … … 4472 4474 * Fires at the end of the creation of the group tabs. 4473 4475 * 4474 * @since BuddyPress (1.0.0)4476 * @since 1.0.0 4475 4477 */ 4476 4478 do_action( 'groups_creation_tabs' ); … … 4483 4485 * Filters the group creation stage title. 4484 4486 * 4485 * @since BuddyPress (1.1.0)4487 * @since 1.1.0 4486 4488 * 4487 4489 * @param string $value HTML markup for the group creation stage title. … … 4504 4506 * Filters the group creation form action. 4505 4507 * 4506 * @since BuddyPress (1.1.0)4508 * @since 1.1.0 4507 4509 * 4508 4510 * @param string $value Action to be used with group creation form. … … 4603 4605 * Filters the new group ID. 4604 4606 * 4605 * @since BuddyPress (1.1.0)4607 * @since 1.1.0 4606 4608 * 4607 4609 * @param int $new_group_id ID of the new group. … … 4622 4624 * Filters the new group name. 4623 4625 * 4624 * @since BuddyPress (1.1.0)4626 * @since 1.1.0 4625 4627 * 4626 4628 * @param string $name Name of the new group. … … 4641 4643 * Filters the new group description. 4642 4644 * 4643 * @since BuddyPress (1.1.0)4645 * @since 1.1.0 4644 4646 * 4645 4647 * @param string $name Description of the new group. … … 4660 4662 * Filters whether or not to enable forums for the new group. 4661 4663 * 4662 * @since BuddyPress (1.1.0)4664 * @since 1.1.0 4663 4665 * 4664 4666 * @param int $forum Whether or not to enable forums. … … 4679 4681 * Filters the new group status. 4680 4682 * 4681 * @since BuddyPress (1.1.0)4683 * @since 1.1.0 4682 4684 * 4683 4685 * @param string $status Status for the new group. … … 4689 4691 * Output the avatar for the group currently being created 4690 4692 * 4691 * @since BuddyPress (1.1.0)4693 * @since 1.1.0 4692 4694 * 4693 4695 * @see bp_core_fetch_avatar() For more information on accepted arguments … … 4701 4703 * Return the avatar for the group currently being created 4702 4704 * 4703 * @since BuddyPress (1.1.0)4705 * @since 1.1.0 4704 4706 * 4705 4707 * @see bp_core_fetch_avatar() For a description of arguments and return values. … … 4744 4746 * Filters the new group avatar. 4745 4747 * 4746 * @since BuddyPress (1.1.0)4748 * @since 1.1.0 4747 4749 * 4748 4750 * @param string $avatar HTML markup for the new group avatar. … … 4756 4758 * Escape & output the URL to the previous group creation step 4757 4759 * 4758 * @since BuddyPress (1.1.0)4760 * @since 1.1.0 4759 4761 */ 4760 4762 function bp_group_creation_previous_link() { … … 4764 4766 * Return the URL to the previous group creation step 4765 4767 * 4766 * @since BuddyPress (1.1.0)4768 * @since 1.1.0 4767 4769 * 4768 4770 * @return string … … 4793 4795 * Filters the permalink for the previous step with the group creation process. 4794 4796 * 4795 * @since BuddyPress (1.1.0)4797 * @since 1.1.0 4796 4798 * 4797 4799 * @param string $url Permalink for the previous step. … … 4803 4805 * Echoes the current group creation step. 4804 4806 * 4805 * @since BuddyPress (1.6.0)4807 * @since 1.6.0 4806 4808 */ 4807 4809 function bp_groups_current_create_step() { … … 4811 4813 * Returns the current group creation step. If none is found, returns an empty string. 4812 4814 * 4813 * @since BuddyPress (1.6.0)4815 * @since 1.6.0 4814 4816 * 4815 4817 * @uses apply_filters() Filter bp_get_groups_current_create_step to modify. … … 4831 4833 * If none is found, returns an empty string. 4832 4834 * 4833 * @since BuddyPress (1.6.0)4835 * @since 1.6.0 4834 4836 * 4835 4837 * @param string $current_create_step Current step in the group creation process. … … 4841 4843 * Is the user looking at the last step in the group creation process. 4842 4844 * 4843 * @since BuddyPress (1.1.0)4845 * @since 1.1.0 4844 4846 * 4845 4847 * @param string $step Step to compare … … 4864 4866 * Filters whether or not user is looking at last step in group creation process. 4865 4867 * 4866 * @since BuddyPress (2.4.0)4868 * @since 2.4.0 4867 4869 * 4868 4870 * @param bool $retval Whether or not we are looking at last step. … … 4876 4878 * Is the user looking at the first step in the group creation process 4877 4879 * 4878 * @since BuddyPress (1.1.0)4880 * @since 1.1.0 4879 4881 * 4880 4882 * @param string $step Step to compare … … 4899 4901 * Filters whether or not user is looking at first step in group creation process. 4900 4902 * 4901 * @since BuddyPress (2.4.0)4903 * @since 2.4.0 4902 4904 * 4903 4905 * @param bool $retval Whether or not we are looking at first step. … … 4911 4913 * Output a list of friends who can be invited to a group 4912 4914 * 4913 * @since BuddyPress (1.0.0)4915 * @since 1.0.0 4914 4916 */ 4915 4917 function bp_new_group_invite_friend_list( $args = array() ) { … … 4919 4921 * Return a list of friends who can be invited to a group 4920 4922 * 4921 * @since BuddyPress (1.0.0)4923 * @since 1.0.0 4922 4924 * 4923 4925 * @param array $args … … 4966 4968 * Filters the array of friends who can be invited to a group. 4967 4969 * 4968 * @since BuddyPress (1.0.0)4970 * @since 1.0.0 4969 4971 * 4970 4972 * @param array $items Array of friends. … … 4999 5001 * Filters the HTML markup for the groups search form. 5000 5002 * 5001 * @since BuddyPress (1.9.0)5003 * @since 1.9.0 5002 5004 * 5003 5005 * @param string $search_form_html HTML markup for the search form. … … 5060 5062 * Is the current page a specific group admin screen? 5061 5063 * 5062 * @since BuddyPress (1.1.0)5064 * @since 1.1.0 5063 5065 * 5064 5066 * @param string $slug … … 5073 5075 * Echoes the current group admin tab slug. 5074 5076 * 5075 * @since BuddyPress (1.6.0)5077 * @since 1.6.0 5076 5078 */ 5077 5079 function bp_group_current_admin_tab() { … … 5081 5083 * Returns the current group admin tab slug. 5082 5084 * 5083 * @since BuddyPress (1.6.0)5085 * @since 1.6.0 5084 5086 * 5085 5087 * @uses apply_filters() Filter bp_get_current_group_admin_tab to modify return value. … … 5097 5099 * Filters the current group admin tab slug. 5098 5100 * 5099 * @since BuddyPress (1.6.0)5101 * @since 1.6.0 5100 5102 * 5101 5103 * @param string $tab Current group admin tab slug. … … 5109 5111 * Outputs the current group avatar. 5110 5112 * 5111 * @since BuddyPress (1.0.0)5113 * @since 1.0.0 5112 5114 * @param string $type thumb or full ? 5113 5115 * @uses bp_get_group_current_avatar() to get the avatar of the current group. … … 5119 5121 * Returns the current group avatar. 5120 5122 * 5121 * @since BuddyPress (2.0.0)5123 * @since 2.0.0 5122 5124 * 5123 5125 * @param string $type thumb or full ? … … 5138 5140 * Filters the current group avatar. 5139 5141 * 5140 * @since BuddyPress (2.0.0)5142 * @since 2.0.0 5141 5143 * 5142 5144 * @param string $group_avatar HTML markup for current group avatar. … … 5148 5150 * Return whether a group has an avatar. 5149 5151 * 5150 * @since BuddyPress (1.1.0)5152 * @since 1.1.0 5151 5153 * 5152 5154 * @param int|bool $group_id … … 5183 5185 * Filters the URL to delete the group avatar. 5184 5186 * 5185 * @since BuddyPress (1.1.0)5187 * @since 1.1.0 5186 5188 * 5187 5189 * @param string $value URL to delete the group avatar. … … 5348 5350 * Fires right before the rewinding of group membership requests list. 5349 5351 * 5350 * @since BuddyPress (1.5.0)5352 * @since 1.5.0 5351 5353 */ 5352 5354 do_action( 'group_request_loop_end' ); … … 5369 5371 * Fires if the current group membership request item is the first in the loop. 5370 5372 * 5371 * @since BuddyPress (1.1.0)5373 * @since 1.1.0 5372 5374 */ 5373 5375 do_action( 'group_request_loop_start' ); … … 5404 5406 * Filters whether or not a group membership query has requests to display. 5405 5407 * 5406 * @since BuddyPress (1.1.0)5408 * @since 1.1.0 5407 5409 * 5408 5410 * @param bool $value Whether there are requests to display. … … 5430 5432 * Filters the requesting user's avatar thumbnail. 5431 5433 * 5432 * @since BuddyPress (1.0.0)5434 * @since 1.0.0 5433 5435 * 5434 5436 * @param string $value HTML markup for the user's avatar thumbnail. … … 5446 5448 * Filters the URL to use to reject a membership request. 5447 5449 * 5448 * @since BuddyPress (1.2.6)5450 * @since 1.2.6 5449 5451 * 5450 5452 * @param string $value URL to use to reject a membership request. … … 5462 5464 * Filters the URL to use to accept a membership request. 5463 5465 * 5464 * @since BuddyPress (1.2.6)5466 * @since 1.2.6 5465 5467 * 5466 5468 * @param string $value URL to use to accept a membership request. … … 5478 5480 * Filters the URL for the user requesting membership. 5479 5481 * 5480 * @since BuddyPress (1.2.6)5482 * @since 1.2.6 5481 5483 * 5482 5484 * @param string $value URL for the user requestion membership. … … 5491 5493 * Filters the formatted time since membership was requested. 5492 5494 * 5493 * @since BuddyPress (1.0.0)5495 * @since 1.0.0 5494 5496 * 5495 5497 * @param string $value Formatted time since membership was requested. … … 5504 5506 * Filters the membership request comment left by user. 5505 5507 * 5506 * @since BuddyPress (1.0.0)5508 * @since 1.0.0 5507 5509 * 5508 5510 * @param string $value Membership request comment left by user. … … 5514 5516 * Output pagination links for group membership requests. 5515 5517 * 5516 * @since BuddyPress (2.0.0)5518 * @since 2.0.0 5517 5519 */ 5518 5520 function bp_group_requests_pagination_links() { … … 5522 5524 * Get pagination links for group membership requests. 5523 5525 * 5524 * @since BuddyPress (2.0.0)5526 * @since 2.0.0 5525 5527 * 5526 5528 * @return string … … 5532 5534 * Filters pagination links for group membership requests. 5533 5535 * 5534 * @since BuddyPress (2.0.0)5536 * @since 2.0.0 5535 5537 * 5536 5538 * @param string $value Pagination links for group membership requests. … … 5542 5544 * Output pagination count text for group membership requests. 5543 5545 * 5544 * @since BuddyPress (2.0.0)5546 * @since 2.0.0 5545 5547 */ 5546 5548 function bp_group_requests_pagination_count() { … … 5550 5552 * Get pagination count text for group membership requests. 5551 5553 * 5552 * @since BuddyPress (2.0.0)5554 * @since 2.0.0 5553 5555 * 5554 5556 * @return string … … 5571 5573 * Filters pagination count text for group membership requests. 5572 5574 * 5573 * @since BuddyPress (2.0.0)5575 * @since 2.0.0 5574 5576 * 5575 5577 * @param string $message Pagination count text for group membership requests. … … 5688 5690 * Fires right before the rewinding of invites list. 5689 5691 * 5690 * @since BuddyPress (1.1.0)5691 * @since BuddyPress (2.3.0)`$this` parameter added.5692 * @since 1.1.0 5693 * @since 2.3.0 `$this` parameter added. 5692 5694 * 5693 5695 * @param BP_Groups_Invite_Template $this Instance of the current Invites template. … … 5747 5749 * Fires if the current invite item is the first in the loop. 5748 5750 * 5749 * @since BuddyPress (1.1.0)5750 * @since BuddyPress (2.3.0)`$this` parameter added.5751 * @since 1.1.0 5752 * @since 2.3.0 `$this` parameter added. 5751 5753 * 5752 5754 * @param BP_Groups_Invite_Template $this Instance of the current Invites template. … … 5789 5791 * Filters whether or not a group invites query has invites to display. 5790 5792 * 5791 * @since BuddyPress (1.1.0)5793 * @since 1.1.0 5792 5794 * 5793 5795 * @param bool $value Whether there are requests to display. … … 5818 5820 * Filters the group invite item ID. 5819 5821 * 5820 * @since BuddyPress (1.1.0)5822 * @since 1.1.0 5821 5823 * 5822 5824 * @param string $value Group invite item ID. … … 5834 5836 * Filters the group invite user avatar. 5835 5837 * 5836 * @since BuddyPress (1.1.0)5838 * @since 1.1.0 5837 5839 * 5838 5840 * @param string $value Group invite user avatar. … … 5850 5852 * Filters the group invite user link. 5851 5853 * 5852 * @since BuddyPress (1.1.0)5854 * @since 1.1.0 5853 5855 * 5854 5856 * @param string $value Group invite user link. … … 5866 5868 * Filters the group invite user's last active time. 5867 5869 * 5868 * @since BuddyPress (1.1.0)5870 * @since 1.1.0 5869 5871 * 5870 5872 * @param string $value Group invite user's last active time. … … 5893 5895 * Output pagination links for group invitations. 5894 5896 * 5895 * @since BuddyPress (2.0.0)5897 * @since 2.0.0 5896 5898 */ 5897 5899 function bp_group_invite_pagination_links() { … … 5901 5903 * Get pagination links for group invitations. 5902 5904 * 5903 * @since BuddyPress (2.0.0)5905 * @since 2.0.0 5904 5906 * 5905 5907 * @return string … … 5911 5913 * Filters the pagination links for group invitations. 5912 5914 * 5913 * @since BuddyPress (2.0.0)5915 * @since 2.0.0 5914 5916 * 5915 5917 * @param string $value Pagination links for group invitations. … … 5921 5923 * Output pagination count text for group invitations. 5922 5924 * 5923 * @since BuddyPress (2.0.0)5925 * @since 2.0.0 5924 5926 */ 5925 5927 function bp_group_invite_pagination_count() { … … 5929 5931 * Get pagination count text for group invitations. 5930 5932 * 5931 * @since BuddyPress (2.0.0)5933 * @since 2.0.0 5932 5934 * 5933 5935 * @return string … … 5956 5958 * Hook group activity feed to <head>. 5957 5959 * 5958 * @since BuddyPress (1.5.0)5960 * @since 1.5.0 5959 5961 */ 5960 5962 function bp_groups_activity_feed() { … … 5974 5976 * Output the current group activity-stream RSS URL. 5975 5977 * 5976 * @since BuddyPress (1.5.0)5978 * @since 1.5.0 5977 5979 */ 5978 5980 function bp_group_activity_feed_link() { … … 5982 5984 * Return the current group activity-stream RSS URL. 5983 5985 * 5984 * @since BuddyPress (1.5.0)5986 * @since 1.5.0 5985 5987 * @return string 5986 5988 */ … … 5993 5995 * Filters the current group activity-stream RSS URL. 5994 5996 * 5995 * @since BuddyPress (1.2.0)5997 * @since 1.2.0 5996 5998 * 5997 5999 * @param string $feed_link Current group activity-stream RSS URL. … … 6005 6007 * Echoes the output of bp_get_current_group_id(). 6006 6008 * 6007 * @since BuddyPress (1.5.0)6009 * @since 1.5.0 6008 6010 */ 6009 6011 function bp_current_group_id() { … … 6013 6015 * Returns the ID of the current group. 6014 6016 * 6015 * @since BuddyPress (1.5.0)6017 * @since 1.5.0 6016 6018 * @uses apply_filters() Filter bp_get_current_group_id to modify this output. 6017 6019 * … … 6025 6027 * Filters the ID of the current group. 6026 6028 * 6027 * @since BuddyPress (1.5.0)6029 * @since 1.5.0 6028 6030 * 6029 6031 * @param int $current_group_id ID of the current group. … … 6036 6038 * Echoes the output of bp_get_current_group_slug(). 6037 6039 * 6038 * @since BuddyPress (1.5.0)6040 * @since 1.5.0 6039 6041 */ 6040 6042 function bp_current_group_slug() { … … 6044 6046 * Returns the slug of the current group. 6045 6047 * 6046 * @since BuddyPress (1.5.0)6048 * @since 1.5.0 6047 6049 * @uses apply_filters() Filter bp_get_current_group_slug to modify this output. 6048 6050 * … … 6056 6058 * Filters the slug of the current group. 6057 6059 * 6058 * @since BuddyPress (1.5.0)6060 * @since 1.5.0 6059 6061 * 6060 6062 * @param string $current_group_slug Slug of the current group. … … 6067 6069 * Echoes the output of bp_get_current_group_name(). 6068 6070 * 6069 * @since BuddyPress (1.5.0)6071 * @since 1.5.0 6070 6072 */ 6071 6073 function bp_current_group_name() { … … 6075 6077 * Returns the name of the current group. 6076 6078 * 6077 * @since BuddyPress (1.5.0)6079 * @since 1.5.0 6078 6080 * @uses apply_filters() Filter bp_get_current_group_name to modify this output. 6079 6081 * … … 6090 6092 * Filters the name of the current group. 6091 6093 * 6092 * @since BuddyPress (1.2.0)6094 * @since 1.2.0 6093 6095 * 6094 6096 * @param string $name Name of the current group. … … 6101 6103 * Echoes the output of bp_get_current_group_description(). 6102 6104 * 6103 * @since BuddyPress (2.1.0)6105 * @since 2.1.0 6104 6106 */ 6105 6107 function bp_current_group_description() { … … 6109 6111 * Returns the description of the current group. 6110 6112 * 6111 * @since BuddyPress (2.1.0)6113 * @since 2.1.0 6112 6114 * @uses apply_filters() Filter bp_get_current_group_description to modify 6113 6115 * this output. … … 6124 6126 * This filter is used to apply extra filters related to formatting. 6125 6127 * 6126 * @since BuddyPress (1.0.0)6128 * @since 1.0.0 6127 6129 * 6128 6130 * @param string $current_group_desc Description of the current group. … … 6133 6135 * Filters the description of the current group. 6134 6136 * 6135 * @since BuddyPress (2.1.0)6137 * @since 2.1.0 6136 6138 * 6137 6139 * @param string $desc Description of the current group. … … 6143 6145 * Output a URL for a group component action. 6144 6146 * 6145 * @since BuddyPress (1.2.0)6147 * @since 1.2.0 6146 6148 * 6147 6149 * @param string $action … … 6157 6159 * Get a URL for a group component action. 6158 6160 * 6159 * @since BuddyPress (1.2.0)6161 * @since 1.2.0 6160 6162 * 6161 6163 * @param string $action … … 6199 6201 * Filters a URL for a group component action. 6200 6202 * 6201 * @since BuddyPress (2.1.0)6203 * @since 2.1.0 6202 6204 * 6203 6205 * @param string $url URL for a group component action. … … 6214 6216 * Display the number of groups in user's profile. 6215 6217 * 6216 * @since BuddyPress (2.0.0)6218 * @since 2.0.0 6217 6219 * 6218 6220 * @param array|string $args before|after|user_id … … 6228 6230 * Return the number of groups in user's profile. 6229 6231 * 6230 * @since BuddyPress (2.0.0)6232 * @since 2.0.0 6231 6233 * 6232 6234 * @param array|string $args before|after|user_id … … 6263 6265 * Filters the number of groups in user's profile. 6264 6266 * 6265 * @since BuddyPress (2.0.0)6267 * @since 2.0.0 6266 6268 * 6267 6269 * @param string $value HTML for stats output.
Note: See TracChangeset
for help on using the changeset viewer.