| @@ -1,33 +1,33 @@ | ||
| 1 | -<?php | |
| 2 | -/** | |
| 3 | - * Elementor Controls for instructor settings. | |
| 4 | - */ | |
| 5 | - | |
| 6 | -use Elementor\Controls_Manager; | |
| 7 | - | |
| 8 | -return apply_filters( | |
| 9 | - 'learn-press/elementor/single-instructor', | |
| 10 | - array_merge( | |
| 11 | - apply_filters( | |
| 12 | - 'learn-press/elementor/single-instructor/tab-content/fields', | |
| 13 | - [ | |
| 14 | - 'section_content' => [ | |
| 15 | - 'type_detect' => 'section', | |
| 16 | - 'label' => esc_html__( 'Content', 'learnpress' ), | |
| 17 | - ], | |
| 18 | - 'grid_list_type' => [ | |
| 19 | - 'type_detect' => 'control', | |
| 20 | - 'label' => esc_html__( 'Layout Type', 'learnpress' ), | |
| 21 | - 'type' => Controls_Manager::SELECT, | |
| 22 | - 'options' => array( | |
| 23 | - 'list' => esc_html__( 'List', 'learnpress' ), | |
| 24 | - 'grid' => esc_html__( 'Grid', 'learnpress' ), | |
| 25 | - ), | |
| 26 | - 'default' => 'grid', | |
| 27 | - ], | |
| 28 | - 'end_section' => [], | |
| 29 | - ] | |
| 30 | - ), | |
| 31 | - [] | |
| 32 | - ) | |
| 33 | -); | |
| 1 | +<?php | |
| 2 | +/** | |
| 3 | + * Elementor Controls for instructor settings. | |
| 4 | + */ | |
| 5 | + | |
| 6 | +use Elementor\Controls_Manager; | |
| 7 | + | |
| 8 | +return apply_filters( | |
| 9 | + 'learn-press/elementor/single-instructor', | |
| 10 | + array_merge( | |
| 11 | + apply_filters( | |
| 12 | + 'learn-press/elementor/single-instructor/tab-content/fields', | |
| 13 | + [ | |
| 14 | + 'section_content' => [ | |
| 15 | + 'type_detect' => 'section', | |
| 16 | + 'label' => esc_html__( 'Content', 'learnpress' ), | |
| 17 | + ], | |
| 18 | + 'grid_list_type' => [ | |
| 19 | + 'type_detect' => 'control', | |
| 20 | + 'label' => esc_html__( 'Layout Type', 'learnpress' ), | |
| 21 | + 'type' => Controls_Manager::SELECT, | |
| 22 | + 'options' => array( | |
| 23 | + 'list' => esc_html__( 'List', 'learnpress' ), | |
| 24 | + 'grid' => esc_html__( 'Grid', 'learnpress' ), | |
| 25 | + ), | |
| 26 | + 'default' => 'grid', | |
| 27 | + ], | |
| 28 | + 'end_section' => [], | |
| 29 | + ] | |
| 30 | + ), | |
| 31 | + [] | |
| 32 | + ) | |
| 33 | +); | |