[ Index ] |
PHP Cross Reference of BuddyPress |
[Summary view] [Print] [Text view]
1 /** 2 * WordPress dependencies. 3 */ 4 const { 5 blocks: { 6 registerBlockType, 7 }, 8 i18n: { 9 __, 10 }, 11 } = wp; 12 13 /** 14 * Internal dependencies. 15 */ 16 import editMemberBlock from './member/edit'; 17 18 registerBlockType( 'bp/member', { 19 title: __( 'Member', 'buddypress' ), 20 description: __( 'BuddyPress Member.', 'buddypress' ), 21 icon: { 22 background: '#fff', 23 foreground: '#d84800', 24 src: 'admin-users', 25 }, 26 category: 'buddypress', 27 attributes: { 28 itemID: { 29 type: 'integer', 30 default: 0, 31 }, 32 avatarSize: { 33 type: 'string', 34 default: 'full', 35 }, 36 displayMentionSlug: { 37 type: 'boolean', 38 default: true, 39 }, 40 displayActionButton: { 41 type: 'boolean', 42 default: true, 43 }, 44 displayCoverImage: { 45 type: 'boolean', 46 default: true, 47 }, 48 }, 49 edit: editMemberBlock, 50 } );
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 |