| Server IP : 68.178.247.200 / Your IP : 216.73.216.14 Web Server : Apache System : Linux p3plzcpnl489463.prod.phx3.secureserver.net 4.18.0-553.54.1.lve.el8.x86_64 #1 SMP Wed Jun 4 13:01:13 UTC 2025 x86_64 User : x9dppmxs4rgd ( 8559391) PHP Version : 7.4.33 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : ON | Sudo : OFF | Pkexec : OFF Directory : /home/x9dppmxs4rgd/www/wp-content/plugins/js_composer/include/classes/core/ |
Upload File : |
<?php
if ( ! defined( 'ABSPATH' ) ) {
die( '-1' );
}
class Vc_Page implements Vc_Render {
protected $slug;
protected $title;
protected $templatePath;
/**
* @return string
*
*/
public function getSlug() {
return $this->slug;
}
/**
* @param mixed $slug
*
* @return $this;
*/
public function setSlug( $slug ) {
$this->slug = (string) $slug;
return $this;
}
/**
* @return mixed
*/
public function getTitle() {
return $this->title;
}
/**
* @param string $title
*
* @return $this
*/
public function setTitle( $title ) {
$this->title = (string) $title;
return $this;
}
/**
* @return mixed
*/
public function getTemplatePath() {
return $this->templatePath;
}
/**
* @param mixed $templatePath
*
* @return $this
*/
public function setTemplatePath( $templatePath ) {
$this->templatePath = $templatePath;
return $this;
}
public function render() {
ob_start();
vc_include_template( $this->getTemplatePath(), array(
'page' => $this,
) );
echo apply_filters( 'vc_settings-page-render-' . $this->getSlug(), ob_get_clean(), $this );
}
}