/var/www/vhosts/ihelp.ro/ajutam.ro/wp-content/plugins/give/blocks/donor-wall
Edit: /var/www/vhosts/ihelp.ro/ajutam.ro/wp-content/plugins/give/blocks/donor-wall/index.js (817B)
/**
* WordPress dependencies
*/
const { __ } = wp.i18n;
const { registerBlockType } = wp.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' ),
description: __( 'The GiveWP Donor Wall block inserts an existing donation form into the page. Each form\'s presentation can be customized below.' ),
category: 'give',
icon:
,
keywords: [
__( 'donation' ),
__( 'wall' ),
],
supports: {
html: false,
},
attributes: blockAttributes,
edit: GiveDonorWallGrid,
save: () => {
// Server side rendering via shortcode
return null;
},
} );