Файловый менеджер - Редактировать - /home/digitalm/invisalign/wp-content/themes/healthy-smiles/kits/settings/header-bot/social.php
Назад
<?php namespace HealthySmilesSpace\Kits\Settings\HeaderBot; use HealthySmilesSpace\Kits\Settings\Base\Settings_Tab_Base; use Elementor\Controls_Manager; if ( ! defined( 'ABSPATH' ) ) { exit; // Exit if accessed directly } /** * Header Bot Social settings. * * @since 1.0.0 */ class Social extends Settings_Tab_Base { /** * Get toggle name. * * Retrieve the toggle name. * * @since 1.0.0 * * @return string Toggle name. */ public static function get_toggle_name() { return 'header_bot_social'; } /** * Get title. * * Retrieve the toggle title. * * @since 1.0.0 */ public function get_title() { return esc_html__( 'Social Icons', 'healthy-smiles' ); } /** * Get control ID prefix. * * Retrieve the control ID prefix. * * @return string Control ID prefix. */ protected static function get_control_id_prefix() { return parent::get_control_id_prefix() . '_header_bot'; } /** * Get toggle conditions. * * Retrieve the settings toggle conditions. * * @since 1.0.0 * * @return array Toggle conditions. */ protected function get_toggle_conditions() { return array( 'condition' => array( $this->get_control_id_parameter( '', 'visibility' ) => 'yes', $this->get_control_id_parameter( '', 'type' ) => 'wide', $this->get_control_id_parameter( '', 'add_content_elements' ) => 'social', ), ); } /** * Register toggle controls. * * Registers the controls of the kit settings tab toggle. * * @since 1.0.0 */ protected function register_toggle_controls() { $this->add_controls_group( 'social', self::CONTROLS_SOCIAL_ICONS, array( 'states' => array( 'normal' => esc_html__( 'Normal', 'healthy-smiles' ), 'hover' => esc_html__( 'Hover', 'healthy-smiles' ), ), ) ); } }
| ver. 1.4 |
Github
|
.
| PHP 8.3.23 | Генерация страницы: 0.03 |
proxy
|
phpinfo
|
Настройка