| 1 |
<?php |
| 2 |
namespace LearnPress\ExternalPlugin\Elementor; |
| 3 |
|
| 4 |
use Elementor\Skin_Base; |
| 5 |
|
| 6 |
abstract class LPSkinBase extends Skin_Base { |
| 7 |
/** |
| 8 |
* @var string |
| 9 |
*/ |
| 10 |
public $lp_el_skin_id = ''; |
| 11 |
/** |
| 12 |
* @var string |
| 13 |
*/ |
| 14 |
public $lp_el_skin_title = ''; |
| 15 |
|
| 16 |
public function get_id() { |
| 17 |
return 'lp_el_skin_' . $this->lp_el_skin_id; |
| 18 |
} |
| 19 |
|
| 20 |
public function get_title() { |
| 21 |
return $this->lp_el_skin_title; |
| 22 |
} |
| 23 |
|
| 24 |
// For hook add controls of each skin type |
| 25 |
protected function _register_controls_actions() {} |
| 26 |
|
| 27 |
public function render() { |
| 28 |
// Render your skin here |
| 29 |
} |
| 30 |
} |
| 31 |
|