- WordPress core y plugins - Tema Twenty Twenty-Four configurado - Plugin allow-unfiltered-html.php simplificado - .gitignore configurado para excluir wp-config.php y uploads 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <noreply@anthropic.com>
76 lines
1.1 KiB
PHP
Executable File
76 lines
1.1 KiB
PHP
Executable File
<?php
|
|
|
|
/**
|
|
* Class Option Model
|
|
*/
|
|
class Thrive_Ult_Option {
|
|
/* These data members are public just for the serialization(json_encode/json_decode) */
|
|
public $id;
|
|
public $label;
|
|
public $isChecked = false;
|
|
|
|
/**
|
|
* Used to filter options by filters
|
|
* Used to render a specific template
|
|
*
|
|
* @var string
|
|
*/
|
|
public $type = '';
|
|
|
|
/**
|
|
* @param mixed $id
|
|
*/
|
|
public function setId( $id ) {
|
|
$this->id = $id;
|
|
}
|
|
|
|
/**
|
|
* @return mixed
|
|
*/
|
|
public function getId() {
|
|
return $this->id;
|
|
}
|
|
|
|
/**
|
|
* @param boolean $isChecked
|
|
*/
|
|
public function setIsChecked( $isChecked ) {
|
|
$this->isChecked = $isChecked;
|
|
}
|
|
|
|
/**
|
|
* @return boolean
|
|
*/
|
|
public function getIsChecked() {
|
|
return $this->isChecked;
|
|
}
|
|
|
|
/**
|
|
* @param mixed $label
|
|
*/
|
|
public function setLabel( $label ) {
|
|
$this->label = $label;
|
|
}
|
|
|
|
/**
|
|
* @return mixed
|
|
*/
|
|
public function getLabel() {
|
|
return $this->label;
|
|
}
|
|
|
|
/**
|
|
* @param string $type
|
|
*/
|
|
public function setType( $type ) {
|
|
$this->type = $type;
|
|
}
|
|
|
|
/**
|
|
* @return string
|
|
*/
|
|
public function getType() {
|
|
return $this->type;
|
|
}
|
|
}
|