| Server IP : 177.55.116.72 / Your IP : 216.73.217.104 Web Server : Apache System : Linux UBAPCWEB27 3.10.0-862.14.4.el7.x86_64 #1 SMP Wed Sep 26 15:12:11 UTC 2018 x86_64 User : web_hotelpraiadoc ( 3326) PHP Version : 8.2.20 Disable Function : proc_open, passthru, escapeshellcmd, exec, shell_exec, system, ini_alter, dl, popen, php_check_syntax, show_source, highlight_file, symlink, link, openlog, apache_child_terminate MySQL : OFF | cURL : ON | WGET : OFF | Perl : OFF | Python : OFF | Sudo : OFF | Pkexec : OFF Directory : /home/hotelpraiadoconde.com.br/public/wp-content/plugins/pro-elements/core/preview/ |
Upload File : |
<?php
namespace ElementorPro\Core\Preview;
use Elementor\Core\Base\App;
if ( ! defined( 'ABSPATH' ) ) {
exit; // Exit if accessed directly
}
class Preview extends App {
public function __construct() {
add_action( 'elementor/preview/enqueue_styles', [ $this, 'enqueue_styles' ] );
}
public function get_name() {
return 'pro-preview';
}
public function enqueue_styles() {
wp_enqueue_style(
'pro-editor-preview',
$this->get_css_assets_url( 'preview' ),
[],
ELEMENTOR_PRO_VERSION
);
}
protected function get_assets_base_url() {
return ELEMENTOR_PRO_URL;
}
}