PluginProbe ʕ •ᴥ•ʔ
LatePoint – Calendar Booking Plugin for Appointments and Events / trunk
LatePoint – Calendar Booking Plugin for Appointments and Events vtrunk
5.6.7 5.6.6 5.6.5 5.6.4 5.6.3 5.6.2 5.6.1 5.6.0 5.5.2 5.5.1 5.5.0 5.4.2 trunk 5.1.0 5.1.1 5.1.2 5.1.3 5.1.4 5.1.5 5.1.6 5.1.7 5.1.8 5.1.9 5.1.91 5.1.92 5.1.93 5.1.94 5.2.0 5.2.1 5.2.10 5.2.11 5.2.2 5.2.3 5.2.4 5.2.5 5.2.6 5.2.7 5.2.8 5.2.9 5.3.0 5.3.1 5.3.2 5.4.0 5.4.1
latepoint / blocks / src / calendar / index.js
latepoint / blocks / src / calendar Last commit date
block.json 1 month ago edit.js 1 week ago index-min.js 1 year ago index.js 1 year ago save.js 1 year ago
index.js
28 lines
1 /*
2 * Copyright (c) 2023 LatePoint LLC. All rights reserved.
3 */
4
5 /**
6 * Registers a new block provided a unique name and an object defining its behavior.
7 *
8 * @see https://developer.wordpress.org/block-editor/developers/block-api/#registering-a-block
9 */
10 import { registerBlockType } from '@wordpress/blocks';
11
12 /**
13 * Internal dependencies
14 */
15 import Edit from './edit';
16 import save from './save';
17 import metadata from './block.json';
18
19 /**
20 * Every block starts by registering a new block type definition.
21 *
22 * @see https://developer.wordpress.org/block-editor/developers/block-api/#registering-a-block
23 */
24
25 registerBlockType( metadata.name, {
26 edit: Edit,
27 save,
28 } );