[ Index ] |
PHP Cross Reference of BuddyPress |
[Summary view] [Print] [Text view]
1 /** 2 * WordPress dependencies. 3 */ 4 const { 5 i18n: { 6 __, 7 }, 8 } = wp; 9 10 /** 11 * Avatar sizes. 12 * 13 * @type {Array} 14 */ 15 export const AVATAR_SIZES = [ 16 { 17 label: __( 'None', 'buddypress' ), 18 value: 'none', 19 }, 20 { 21 label: __( 'Thumb', 'buddypress' ), 22 value: 'thumb', 23 }, 24 { 25 label: __( 'Full', 'buddypress' ), 26 value: 'full', 27 }, 28 ]; 29 30 /** 31 * Group stati. 32 * 33 * @type {Object} 34 */ 35 export const GROUP_STATI = { 36 public: __( 'Public', 'buddypress' ), 37 private: __( 'Private', 'buddypress' ), 38 hidden: __( 'Hidden', 'buddypress' ), 39 }; 40 41 /** 42 * Group Extra data. 43 * 44 * @type {Array} 45 */ 46 export const EXTRA_INFO = [ 47 { 48 label: __( 'None', 'buddypress' ), 49 value: 'none', 50 }, 51 { 52 label: __( 'Group\'s description', 'buddypress' ), 53 value: 'description', 54 }, 55 { 56 label: __( 'Last time the group was active', 'buddypress' ), 57 value: 'active', 58 }, 59 { 60 label: __( 'Amount of group members', 'buddypress' ), 61 value: 'popular', 62 }, 63 ];
title
Description
Body
title
Description
Body
title
Description
Body
title
Body
Generated: Fri May 5 01:01:24 2023 | Cross-referenced by PHPXref 0.7.1 |