Changeset 9964
- Timestamp:
- 06/23/2015 02:08:22 PM (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/bp-groups/bp-groups-template.php
r9943 r9964 874 874 } 875 875 /** 876 * Return the group avatar while in the groups loop.876 * Get a group's avatar. 877 877 * 878 878 * @since BuddyPress (1.0.0) 879 879 * 880 * @param array|string $args { 881 * Array of arguments. See {@link bp_core_fetch_avatar()} for 882 * detailed description. Default values that differ from that 883 * function are described below. 884 * 885 * @type string $type Default: 'full'. 886 * @type string $id Passed to $css_id parameter. 880 * @see bp_core_fetch_avatar() For a description of arguments and return values. 881 882 * @param array $args { 883 * Arguments are listed here with an explanation of their defaults. 884 * For more information about the arguments, see {@link bp_core_fetch_avatar()}. 885 * 886 * @type string $alt Default: 'Group logo of [group name]'. 887 * @type string $class Default: 'avatar'. 888 * @type string $type Default: 'full'. 889 * @type int|bool $width Default: false. 890 * @type int|bool $height Default: false. 891 * @type bool $id Passed to `$css_id` parameter. 887 892 * } 888 * @return string 893 * @return string Group avatar string. 889 894 */ 890 895 function bp_get_group_avatar( $args = '' ) { … … 4692 4697 * @since BuddyPress (1.1.0) 4693 4698 * 4694 * @see bp_core_fetch_avatar() For more information on accepted arguments 4695 * 4696 * @param array $args See bp_core_fetch_avatar() 4699 * @see bp_core_fetch_avatar() For a description of arguments and return values. 4700 * 4701 * @param array $args { 4702 * Arguments are listed here with an explanation of their defaults. 4703 * For more information about the arguments, see {@link bp_core_fetch_avatar()}. 4704 * 4705 * @type string $alt Default: 'Group photo'. 4706 * @type string $class Default: 'avatar'. 4707 * @type string $type Default: 'full'. 4708 * @type int|bool $width Default: false. 4709 * @type int|bool $height Default: false. 4710 * @type string $id Passed to $css_id parameter. Default: 'avatar-crop-preview'. 4711 * } 4697 4712 * @return string The avatar for the group being created 4698 4713 */
Note: See TracChangeset
for help on using the changeset viewer.