# getwid/2.2.0/includes/templates/contact-form/captcha.php

Getwid – Gutenberg Blocks, version 2.2.0. 15 lines.

- Page: https://pluginprobe.com/plugins/getwid/2.2.0/code/includes/templates/contact-form/captcha.php
- Raw: https://pluginprobe.com/plugins/getwid/2.2.0/raw/includes/templates/contact-form/captcha.php
- Modified: 2024-10-25T10:23:02+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/getwid/2.2.0/code/includes/templates/contact-form/captcha.php#L10-L20`.

```php
<?php
    $class = 'wp-block-getwid-captcha';
    if ( isset( $attributes['className'] ) ) {
        $class .= ' ' . $attributes['className'];
    }
?>
<div class='<?php echo esc_attr( $class );?>' data-sitekey='<?php echo esc_attr( $extra_attr['site_key'] ); ?>'<?php
    if ( !isset( $attributes['theme'] ) ) {?>
        data-theme='light'<?php
    } else { ?>
        data-theme='<?php echo esc_attr( $attributes['theme'] ); ?>'<?php
    } ?>
>
</div>

```
