Файловый менеджер - Редактировать - /home/ephorei/www/wp-includes/images/media/q2m9hb/checkbox.tar
Назад
block.json 0000644 00000001751 15006204172 0006532 0 ustar 00 { "apiVersion": 2, "name": "srfm/checkbox", "title": "Checkbox", "description": "Displays a SureForm Checkbox Field", "category": "sureforms", "keywords": [ "checkbox", "toggle", "checkout", "engine" ], "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": "Checkbox" }, "required": { "type": "boolean" }, "checked": { "type": "boolean", "default": false }, "help": { "type": "string", "default": "" }, "errorMsg": { "type": "string", "default": "" }, "formId": { "type": "number", "default": "" }, "isConditionalLogic":{ "type":"boolean", "default":false }, "slug":{ "type":"string", "default":"" } } } block.php 0000644 00000001217 15006204172 0006345 0 ustar 00 <?php /** * PHP render for Text Block. * * @package SureForms. */ namespace SRFM\Inc\Blocks\Checkbox; use SRFM\Inc\Blocks\Base; use SRFM\Inc\Fields\Checkbox_Markup; if ( ! defined( 'ABSPATH' ) ) { exit; // Exit if accessed directly. } /** * Address Block. */ class Block extends Base { /** * Render form checkbox block * * @param array<mixed> $attributes Block attributes. * * @return string|bool */ public function render( $attributes ) { if ( ! empty( $attributes ) ) { $markup_class = new Checkbox_Markup( $attributes ); ob_start(); // phpcs:ignore echo $markup_class->markup(); } return ob_get_clean(); } }
| ver. 1.4 |
Github
|
.
| PHP 8.0.30 | Генерация страницы: 0 |
proxy
|
phpinfo
|
Настройка