| 1 |
<?php |
| 2 |
/** |
| 3 |
* Skin Grid for Widget Courses |
| 4 |
* |
| 5 |
* @since 4.2.5.7 |
| 6 |
* @version 1.0.0 |
| 7 |
*/ |
| 8 |
namespace LearnPress\ExternalPlugin\Elementor\Widgets\Course\Skins; |
| 9 |
|
| 10 |
use Elementor\Widget_Base; |
| 11 |
use LearnPress\Helpers\Config; |
| 12 |
|
| 13 |
class CoursesGrid extends SkinCoursesBase { |
| 14 |
public $lp_el_skin_id = 'grid'; |
| 15 |
public $lp_el_skin_title = 'Courses Grid'; |
| 16 |
|
| 17 |
public function controls_on_section_skin( Widget_Base $widget, $args ) { |
| 18 |
$this->parent = $widget; |
| 19 |
|
| 20 |
Config::instance()->get( |
| 21 |
'courses-grid', |
| 22 |
'elementor/course/skin', |
| 23 |
[ 'CoursesGrid' => $this ] |
| 24 |
); |
| 25 |
} |
| 26 |
} |
| 27 |
|