Файловый менеджер - Редактировать - /home/ephorei/www/wp-includes/images/media/q2m9hb/gdpr.tar
Назад
block.php 0000644 00000001216 15006204670 0006347 0 ustar 00 <?php /** * GDPR Block. * * @package SureForms. * @since 0.0.2 */ namespace SRFM\Inc\Blocks\GDPR; use SRFM\Inc\Blocks\Base; use SRFM\Inc\Fields\GDPR_Markup; if ( ! defined( 'ABSPATH' ) ) { exit; // Exit if accessed directly. } /** * GDPR Block. */ class Block extends Base { /** * Render form GDPR block * * @param array<mixed> $attributes Block attributes. * * @return string|bool * @since 0.0.2 */ public function render( $attributes ) { if ( ! empty( $attributes ) ) { $markup_class = new GDPR_Markup( $attributes ); ob_start(); // phpcs:ignore echo $markup_class->markup(); } return ob_get_clean(); } } block.json 0000644 00000002157 15006204670 0006536 0 ustar 00 { "apiVersion": 2, "name": "srfm/gdpr", "title": "GDPR Agreement", "description": "Displays a SureForm GDPR Agreement Field", "category": "sureforms", "keywords": [ "gdpr", "compliance", "checkbox", "agreement" ], "textdomain": "sureforms", "supports": { "reusable": false, "html": false }, "example": { "attributes": { "preview": true } }, "attributes": { "preview": { "type": "boolean", "default": false }, "block_id": { "type": "string" }, "fieldWidth": { "type": "number", "default": 100 }, "label": { "type": "string", "default": "I consent to have this website store my submitted information so they can respond to my inquiry." }, "checked": { "type": "boolean", "default": false }, "help": { "type": "string", "default": "" }, "errorMsg": { "type": "string", "default": "" }, "formId": { "type": "number", "default": "" }, "isConditionalLogic": { "type": "boolean", "default": false } } }
| ver. 1.4 |
Github
|
.
| PHP 8.0.30 | Генерация страницы: 0 |
proxy
|
phpinfo
|
Настройка