/var/www/vhosts/ihelp.ro/ajutam.ro/wp-content/plugins/give/blocks/donation-form
NameSizeModeActions
data/-0755rm
edit/-0755rm
class-give-donation-form-block.php48970644editdlrm
index.js8240644editdlrm
style.scss3650644editdlrm
Edit: /var/www/vhosts/ihelp.ro/ajutam.ro/wp-content/plugins/give/blocks/donation-form/index.js (824B)
/** * WordPress dependencies */ const { __ } = wp.i18n; const { registerBlockType } = wp.blocks; /** * Internal dependencies */ import './style.scss'; import GiveIcon from '@givewp/components/GiveIcon'; import blockAttributes from './data/attributes'; import GiveForm from './edit/block'; /** * Register Block */ export default registerBlockType( 'give/donation-form', { title: __( 'Donation Form' ), description: __( 'The GiveWP Donation Form block inserts an existing donation form into the page. Each donation form\'s presentation can be customized below.' ), category: 'give', icon: , keywords: [ __( 'donation' ), ], supports: { html: false, }, attributes: blockAttributes, edit: GiveForm, save: () => { // Server side rendering via shortcode return null; }, } );