PluginProbe
LearnPress – WordPress LMS Plugin for Create and Sell Online Courses / 4.4.9
LearnPress – WordPress LMS Plugin for Create and Sell Online Courses v4.4.9
4.4.9 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 All 140 releases
← All changes | config/elementor/course/skin/courses-grid.php +34 -34 4.3.8 → 4.4.9 View file →
@@ -1,34 +1,34 @@
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 -);
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 +);