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

Contact Forms by Cimatti, version 2.3.0. 12 lines.

- Page: https://pluginprobe.com/plugins/contact-forms/2.3.0/code/block-editor/render.php
- Raw: https://pluginprobe.com/plugins/contact-forms/2.3.0/raw/block-editor/render.php
- Modified: 2026-07-13T10:04: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/contact-forms/2.3.0/code/block-editor/render.php#L10-L20`.

```php
<?php
if ( ! defined( 'ABSPATH' ) ) exit;

// phpcs:ignore WordPress.NamingConventions.PrefixAllGlobals.NonPrefixedVariableFound -- Block render context variable
$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 ) );

```
