# ghostkit/3.7.2/gutenberg/blocks/form/fields/submit/block.php

Block Animations, Motion &amp; Scroll Effects – Ghost Kit, version 3.7.2. 31 lines.

- Page: https://pluginprobe.com/plugins/ghostkit/3.7.2/code/gutenberg/blocks/form/fields/submit/block.php
- Raw: https://pluginprobe.com/plugins/ghostkit/3.7.2/raw/gutenberg/blocks/form/fields/submit/block.php
- Modified: 2026-08-26T18:35:36+00:00

Line numbers below start at 1. Link to a line or a range by appending a fragment to the
page URL, for example `https://pluginprobe.com/plugins/ghostkit/3.7.2/code/gutenberg/blocks/form/fields/submit/block.php#L10-L20`.

```php
<?php
/**
 * Form Field Submit block.
 *
 * @package ghostkit
 */

if ( ! defined( 'ABSPATH' ) ) {
	exit;
}

/**
 * Class GhostKit_Form_Field_Submit_Block
 */
class GhostKit_Form_Field_Submit_Block {
	/**
	 * GhostKit_Form_Field_Submit_Block constructor.
	 */
	public function __construct() {
		add_action( 'init', array( $this, 'init' ) );
	}

	/**
	 * Init.
	 */
	public function init() {
		register_block_type_from_metadata( __DIR__ );
	}
}
new GhostKit_Form_Field_Submit_Block();

```
