Файловый менеджер - Редактировать - /home/digitalm/invisalign/wp-content/themes/healthy-smiles/kits/traits/var-group-controls/text-shadow.php
Назад
<?php namespace HealthySmilesSpace\Kits\Traits\VarGroupControls; use Elementor\Group_Control_Text_Shadow; if ( ! defined( 'ABSPATH' ) ) { exit; // Exit if accessed directly } /** * Text Shadow trait. * * Allows to use a group control text-shadow with css vars. * * @since 1.0.0 */ trait Text_Shadow { /** * Add text-shadow group control with css vars. * * @since 1.0.0 * * @param string $key Control key. * @param array $args Control args. */ protected function var_group_control_text_shadow( $key = '', $args = array() ) { list( $name, $prefix ) = $this->get_control_parameters( $key, 'text_shadow' ); $default_args = array( 'name' => $name, 'fields_options' => array( 'text_shadow' => array( 'selectors' => array( ':root' => "--{$prefix}-text-shadow: {{HORIZONTAL}}px {{VERTICAL}}px {{BLUR}}px {{COLOR}};", ), ), ), ); $this->add_group_control( Group_Control_Text_Shadow::get_type(), array_replace_recursive( $default_args, $args ) ); } }
| ver. 1.4 |
Github
|
.
| PHP 8.3.23 | Генерация страницы: 0.05 |
proxy
|
phpinfo
|
Настройка