![]() Server : Apache System : Linux server2.corals.io 4.18.0-348.2.1.el8_5.x86_64 #1 SMP Mon Nov 15 09:17:08 EST 2021 x86_64 User : corals ( 1002) PHP Version : 7.4.33 Disable Function : exec,passthru,shell_exec,system Directory : /home/corals/intellicart.co/wp-content/plugins/uicore-elements/includes/ |
<?php namespace UiCoreElements; use Elementor\Controls_Stack; use Elementor\Controls_Manager; defined('ABSPATH') || exit(); /** * Replace UiCore Animate Plugin */ class Animate { private static $badge = '<span title="Powerd by UiCore Animate" style="font-size: 11px; text-transform: uppercase; background: #5dbad8; color: black; padding: 2px 5px; border-radius: 3px; margin-right: 7px;">Animate</span>'; public function __construct() { add_action( 'elementor/element/heading/section_title_style/after_section_end', [$this, 'split_animation'],55); add_action( 'elementor/element/highlighted-text/section_title_style/after_section_end', [$this, 'split_animation'],55); add_action( 'elementor/element/text-editor/section_drop_cap/after_section_end', [$this, 'split_animation'],55); } static function split_animation(Controls_Stack $widget) { $widget->start_controls_section( 'section_ui_split_animation', [ 'label' => self::$badge . esc_html__( 'Split Text Animation', 'uicore-elements' ), 'tab' => Controls_Manager::TAB_STYLE, ] ); $widget->add_control( 'important_note', [ 'label' => esc_html__( 'UiCore Animate required', 'uicore-elements' ), 'type' => \Elementor\Controls_Manager::RAW_HTML, 'raw' => __( '<p style="line-height:1.3;margin-top:1em;">Download and instal <a href="https://wordpress.org/plugins/uicore-animate/advanced/" target="_blank">UiCore Animate</a> for more advanced animations control</p>', 'uicore-elements' ), ] ); $widget->end_controls_section(); } } new Animate();