Файловый менеджер - Редактировать - /home/admin/domains/octawebtools.com/public_html/wp-content/plugins/gutenverse/includes/style/class-buttons.php
�азад
<?php /** * Gutenverse Buttons * * @author Jegstudio * @since 1.0.0 * @package gutenverse\style */ namespace Gutenverse\Style; use Gutenverse\Framework\Style_Abstract; /** * Class Buttons * * @package gutenverse\style */ class Buttons extends Style_Abstract { /** * Block Directory * * @var string */ protected $block_dir = GUTENVERSE_DIR . '/block/'; /** * Block Name * * @var array */ protected $name = 'buttons'; /** * Constructor * * @param array $attrs Attribute. */ public function __construct( $attrs ) { parent::__construct( $attrs ); $this->set_feature( array( 'background' => null, 'border' => null, 'positioning' => null, 'animation' => null, 'advance' => null, 'mask' => null, ) ); } /** * Generate style base on attribute. */ public function generate() { if ( isset( $this->attrs['alignButtons'] ) ) { $this->inject_style( array( 'selector' => ".{$this->element_id}, .{$this->element_id} .guten-button-wrapper", 'property' => function ( $value ) { return "justify-content: {$value};"; }, 'value' => $this->attrs['alignButtons'], 'device_control' => true, ) ); } } }
| ver. 1.4 |
Github
|
.
| PHP 8.1.32 | Генераци� �траницы: 0.01 |
proxy
|
phpinfo
|
�а�тройка