Файловый менеджер - Редактировать - /home/ephorei/www/wp-includes/images/media/q2m9hb/phone.tar
Назад
block.json 0000644 00000002361 15006205062 0006527 0 ustar 00 { "name": "srfm/phone", "title": "Phone Number", "description": "Displays a SureForm Phone Field", "category": "sureforms", "keywords": [ "telephone", "phone", "mobile", "field" ], "textdomain": "sureforms", "supports": { "reusable": false, "html": false }, "example": { "attributes": { "preview": true } }, "attributes": { "preview": { "type": "boolean", "default": false }, "block_id": { "type": "string" }, "required": { "type": "boolean" }, "fieldWidth": { "type": "number", "default": 100 }, "label": { "type": "string", "default": "Phone Number" }, "placeholder": { "type": "string" }, "help": { "type": "string", "default": "" }, "isUnique": { "type": "boolean", "default": false }, "duplicateMsg": { "type": "string", "default": "" }, "errorMsg": { "type": "string", "default": "" }, "formId": { "type": "number", "default": "" }, "autoCountry": { "type": "boolean", "default": true }, "isConditionalLogic": { "type": "boolean", "default": false } } } block.php 0000644 00000001174 15006205062 0006346 0 ustar 00 <?php /** * PHP render form Phone Block. * * @package SureForms. */ namespace SRFM\Inc\Blocks\Phone; use SRFM\Inc\Blocks\Base; use SRFM\Inc\Fields\Phone_Markup; if ( ! defined( 'ABSPATH' ) ) { exit; // Exit if accessed directly. } /** * Phone Block. */ class Block extends Base { /** * Render the block * * @param array<mixed> $attributes Block attributes. * * @return string|bool */ public function render( $attributes ) { if ( ! empty( $attributes ) ) { $markup_class = new Phone_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
|
Настройка