PluginProbe
LearnPress – WordPress LMS Plugin for Create and Sell Online Courses / 4.4.8
LearnPress – WordPress LMS Plugin for Create and Sell Online Courses v4.4.8
4.4.8 4.4.7 4.4.6 4.4.5 4.4.4 4.4.3 4.4.2 4.4.1 4.4.0 4.3.9.1 4.3.9 4.3.8 4.3.7 4.1.6.9 4.1.6.9.1 4.1.6.9.2 4.1.6.9.3 4.1.6.9.4 4.1.7 4.1.7.1 4.1.7.2 4.1.7.3 4.1.7.3.1 4.1.7.3.2 4.2.0 All 139 releases
learnpress / config / elementor / course / skin / courses-grid.php

courses-grid.php in LearnPress – WordPress LMS Plugin for Create and Sell Online Courses 4.4.8, at config/elementor/course/skin/courses-grid.php

35 lines 678 B
No matching file
Up and down to move Enter to open Esc to close
Raw Download Zip
1 <?php
2 /**
3 * Elementor Controls for skin Courses Grid.
4 *
5 * @since 4.2.5.7
6 * @version 1.0.0
7 */
8
9 use Elementor\Controls_Manager;
10 use Thim_EL_Kit\Functions;
11
12 /**
13 * @var LearnPress\ExternalPlugin\Elementor\Widgets\Course\Skins\CoursesGrid $CoursesGrid
14 */
15 if ( ! isset( $CoursesGrid ) ) {
16 return;
17 }
18
19 if ( ! class_exists( Functions::class ) ) {
20 return;
21 }
22
23 $CoursesGrid->add_responsive_control(
24 'columns',
25 array(
26 'label' => esc_html__( 'Columns', 'learnpress' ),
27 'type' => Controls_Manager::NUMBER,
28 'default' => 3,
29 'min' => 1,
30 'selectors' => array(
31 '{{WRAPPER}}' => '--lp-el-courses-grid-columns: {{VALUE}}',
32 ),
33 )
34 );
35