PluginProbe
Elementor Website Builder – more than just a page builder / 3.4.2
Elementor Website Builder – more than just a page builder v3.4.2
4.3.0-beta2 4.3.0-beta1 4.2.4 4.2.3 4.2.2 4.2.1 4.2.0 4.1.5 4.2.0-beta2 4.2.0-dev2 4.2.0-beta1 4.1.4 4.1.3 4.1.2 4.1.1 4.1.0 4.1.0-beta3 4.1.0-dev3 4.0.9 4.1.0-beta2 4.1.0-dev2 4.0.8 4.1.0-beta1 4.1.0-dev1 4.0.7 All 451 releases
← All changes | includes/base/sub-controls-stack.php +6 -4 4.2.33.4.2 View file →
@@ -1,9 +1,9 @@
1 1 <?php
2 2 namespace Elementor;
3 3
4 4 if ( ! defined( 'ABSPATH' ) ) {
5 - exit; // Exit if accessed directly.
5 + exit; // Exit if accessed directly
6 6 }
7 7
8 8 /**
9 9 * Elementor sub controls stack.
@@ -43,12 +43,12 @@
43 43 *
44 44 * Initializing the base class by setting parent stack.
45 45 *
46 46 * @access public
47 - * @param Controls_Stack $element_parent
47 + * @param Controls_Stack $parent
48 48 */
49 - public function __construct( $element_parent ) {
50 - $this->parent = $element_parent;
49 + public function __construct( $parent ) {
50 + $this->parent = $parent;
51 51 }
52 52
53 53 /**
54 54 * Get control ID.
@@ -124,8 +124,9 @@
124 124 *
125 125 * @param string $group_name Group control name.
126 126 * @param array $args Group control arguments. Default is an empty array.
127 127 * @param array $options
128 + *
128 129 */
129 130 public function add_group_control( $group_name, $args, $options = [] ) {
130 131 $args['name'] = $this->get_control_id( $args['name'] );
131 132 $this->parent->add_group_control( $group_name, $args, $options );
@@ -182,8 +183,9 @@
182 183 *
183 184 * @param string $id Section ID.
184 185 * @param array $args Section arguments.
185 186 */
187 +
186 188 public function start_controls_section( $id, $args = [] ) {
187 189 $this->parent->start_controls_section( $this->get_control_id( $id ), $args );
188 190 }
189 191