# contact-forms/2.2.4/block-editor/render.php

Contact Forms by Cimatti, version 2.2.4. 11 lines.

- Page: https://pluginprobe.com/plugins/contact-forms/2.2.4/code/block-editor/render.php
- Raw: https://pluginprobe.com/plugins/contact-forms/2.2.4/raw/block-editor/render.php
- Modified: 2026-04-08T09:49:58+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/contact-forms/2.2.4/code/block-editor/render.php#L10-L20`.

```php
<?php
if ( ! defined( 'ABSPATH' ) ) exit;

$form_id = isset( $attributes['formId'] ) ? (int) $attributes['formId'] : 0;
if ( $form_id < 1 ) {
	return;
}

// phpcs:ignore WordPress.Security.EscapeOutput.OutputNotEscaped -- Form HTML is escaped at generation time in the shortcode handler.
echo accua_forms_shortcode_handler( array( 'fid' => (string) $form_id ) );

```
