![]() Server : Apache System : Linux server2.corals.io 4.18.0-348.2.1.el8_5.x86_64 #1 SMP Mon Nov 15 09:17:08 EST 2021 x86_64 User : corals ( 1002) PHP Version : 7.4.33 Disable Function : exec,passthru,shell_exec,system Directory : /home/corals/mets-rebuild.corals.io/wp-content/plugins/give/blocks/donor-wall/ |
/** * WordPress dependencies */ import { __ } from '@wordpress/i18n' import { registerBlockType } from '@wordpress/blocks'; /** * Internal dependencies */ import blockAttributes from './data/attributes'; import GiveIcon from '@givewp/components/GiveIcon'; import GiveDonorWallGrid from './edit/block'; /** * Register Block */ export default registerBlockType( 'give/donor-wall', { title: __( 'Donor Wall', 'give' ), description: __( 'The GiveWP Donor Wall block displays donations on the front end of the site. The settings below allow you to customize the information displayed', 'give' ), category: 'give', icon: <GiveIcon color="grey" />, keywords: [ __( 'donation', 'give' ), __( 'wall', 'give' ), ], supports: { html: false, }, attributes: blockAttributes, edit: GiveDonorWallGrid, save: () => { // Server side rendering via shortcode return null; }, } );