Файловый менеджер - Редактировать - /home/ephorei/www/wp-includes/images/media/q2m9hb/inlinebutton.tar
Назад
block.json 0000644 00000001427 15006205734 0006537 0 ustar 00 { "name": "srfm/inline-button", "title": "Custom Button", "description": "Displays a SureForms Custom Button", "category": "sureforms", "keywords": [ "inline submit", "button", "submit", "inline", "custom", "custom button" ], "textdomain": "sureforms", "supports": { "reusable": false, "html": false, "multiple": false }, "example": { "attributes": { "preview": true } }, "attributes": { "preview": { "type": "boolean", "default": false }, "block_id": { "type": "string" }, "fieldWidth": { "type": "number", "default": 100 }, "buttonText": { "type": "string", "default": "Submit" }, "formId": { "type": "number", "default": "" }, "isConditionalLogic": { "type": "boolean", "default": false } } } block.php 0000644 00000001264 15006205734 0006354 0 ustar 00 <?php /** * PHP render form Inline Button Block. * * @package SureForms. */ namespace SRFM\Inc\Blocks\Inlinebutton; use SRFM\Inc\Blocks\Base; use SRFM\Inc\Fields\Inlinebutton_Markup; if ( ! defined( 'ABSPATH' ) ) { exit; // Exit if accessed directly. } /** * Inline Button Block. */ class Block extends Base { /** * Render the block * * @param array<mixed> $attributes Block attributes. * * @return string|bool * @since 0.0.2 */ public function render( $attributes ) { if ( ! empty( $attributes ) ) { $markup_class = new Inlinebutton_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
|
Настройка