HEX
Server: LiteSpeed
System: Linux linux31.centraldnserver.com 4.18.0-553.83.1.lve.el8.x86_64 #1 SMP Wed Nov 12 10:04:12 UTC 2025 x86_64
User: salamatk (1501)
PHP: 8.1.33
Disabled: show_source, system, shell_exec, passthru, exec, popen, proc_open
Upload Files
File: /home/salamatk/takarzan.ir/wp-content/plugins/wp-parsidate/includes/plugins/elementor.php
<?php

defined( 'ABSPATH' ) or exit( 'No direct script access allowed' );

/**
 * Make Elementor compatible with WP-Parsidate
 */
class WPP_Elementor {

	public function __construct() {
		add_action( "elementor/editor/after_enqueue_styles", array( $this, "add_elementor_editor_css" ) );
	}

	public function add_elementor_editor_css( $value = '' ) {
		$wpp_elementor_css = "
      body, .tipsy-inner, .elementor-button, .elementor-panel {
        font-family: Tahoma,Arial,Helvetica,Verdana,sans-serif;
      }
      .tipsy-inner {
        font-size: small;
      }";
		$wpp_elementor_css = apply_filters( "wpp_elementor_css", $wpp_elementor_css );
		wp_add_inline_style( "elementor-editor", $wpp_elementor_css );
	}
}

return new WPP_Elementor;