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

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

- Page: https://pluginprobe.com/plugins/ghostkit/3.4.1/code/gutenberg/blocks/form/fields/submit/block.php
- Raw: https://pluginprobe.com/plugins/ghostkit/3.4.1/raw/gutenberg/blocks/form/fields/submit/block.php
- Modified: 2024-02-18T18:40:24+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.4.1/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( dirname( __FILE__ ) );
	}
}
new GhostKit_Form_Field_Submit_Block();

```
