MOON
Server: Apache
System: Linux 54-179-220-51.cprapid.com 3.10.0-1160.144.1.el7.tuxcare.els4.x86_64 #1 SMP Tue Apr 7 08:40:40 UTC 2026 x86_64
User: hunarpak (1005)
PHP: 7.4.29
Disabled: NONE
Upload Files
File: /home/hunarpak/public_html/wp-content/plugins/tlp-portfolio/lib/classes/TLPPortfolioElementor.php
<?php
/**
 * Elementor class.
 *
 * @package RT_Portfolio
 */

// Do not allow directly accessing this file.
if ( ! defined( 'ABSPATH' ) ) {
	exit( 'This script cannot be accessed directly.' );
}

if ( ! class_exists( 'TLPPortfolioElementor' ) ) :
	/**
	 * Elementor class.
	 */
	class TLPPortfolioElementor {
		public function __construct() {
			if ( did_action( 'elementor/loaded' ) ) {
				add_action( 'elementor/widgets/register', [ $this, 'init' ] );
			}
		}

		public function init( $widgets_manager ) {
			global $TLPportfolio;

			require_once $TLPportfolio->incPath . '/vendor/TlpPortfolioElementorWidget.php';

			// Register widget.
			$widgets_manager->register( new TlpPortfolioElementorWidget() );
		}
	}
endif;