PATH:
home
/
lab2454c
/
incforce.com
/
wp-content
/
plugins
/
smart-slider-3
/
Nextend
/
SmartSlider3
/
Slider
/
Feature
<?php namespace Nextend\SmartSlider3\Slider\Feature; use Nextend\Framework\Parser\Common; use Nextend\Framework\Sanitize; use Nextend\SmartSlider3\Settings; class TranslateUrl { private $slider; public $from = ''; public $to = ''; public function __construct($slider) { $this->slider = $slider; list($this->from, $this->to) = (array)Common::parse(esc_attr(Settings::get('translate-url', '||'))); } public function replaceUrl($string) { if (!$this->slider->isAdmin && !empty($this->from) && !empty($this->to)) { return str_replace($this->from, $this->to, $string); } return $string; } }
[-] Align.php
[edit]
[-] Focus.php
[edit]
[+]
..
[-] BlockRightClick.php
[edit]
[-] SlideBackground.php
[edit]
[-] Responsive.php
[edit]
[-] MaintainSession.php
[edit]
[-] LazyLoad.php
[edit]
[-] Autoplay.php
[edit]
[-] PostBackgroundAnimation.php
[edit]
[-] Optimize.php
[edit]
[-] Controls.php
[edit]
[-] TranslateUrl.php
[edit]
[-] Margin.php
[edit]
[-] LayerMode.php
[edit]