/
var
/
www
/
vhosts
/
ihelp.ro
/
ajutam.ro
/
wp-content
/
plugins
/
give
/
blocks
/
donor-wall
/
/var/www/vhosts/ihelp.ro/ajutam.ro/wp-content/plugins/give/blocks/donor-wall
mkdir
upload
Name
Size
Mode
Actions
data/
-
0755
rm
edit/
-
0755
rm
class-give-donor-wall.php
5531
0644
edit
dl
rm
index.js
817
0644
edit
dl
rm
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: <GiveIcon color="grey" />, keywords: [ __( 'donation' ), __( 'wall' ), ], supports: { html: false, }, attributes: blockAttributes, edit: GiveDonorWallGrid, save: () => { // Server side rendering via shortcode return null; }, } );
Save
cmd:
run