Create New Item
Item Type
File
Folder
Item Name
Search file in folder and subfolders...
Are you sure want to rename?
File Manager
/
wp-content
/
plugins
/
smart-slider-3
/
Nextend
/
SmartSlider3
/
Slider
/
Feature
:
BlockRightClick.php
Advanced Search
Upload
New Item
Settings
Back
Back Up
Advanced Editor
Save
<?php namespace Nextend\SmartSlider3\Slider\Feature; class BlockRightClick { private $slider; public $isEnabled = 0; public function __construct($slider) { $this->slider = $slider; $this->isEnabled = intval($slider->params->get('blockrightclick', 0)); } public function makeJavaScriptProperties(&$properties) { $properties['blockrightclick'] = $this->isEnabled; } }