PluginProbe
Elementor Website Builder – more than just a page builder / 3.10.0-dev1
Elementor Website Builder – more than just a page builder v3.10.0-dev1
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/skin-base.php +9 -6 4.2.33.10.0-dev1 View file →
@@ -37,12 +37,12 @@
37 37 * controls actions.
38 38 *
39 39 * @since 1.0.0
40 40 * @access public
41 - * @param Widget_Base $element_parent
41 + * @param Widget_Base $parent
42 42 */
43 - public function __construct( Widget_Base $element_parent ) {
44 - parent::__construct( $element_parent );
43 + public function __construct( Widget_Base $parent ) {
44 + parent::__construct( $parent );
45 45
46 46 $this->_register_controls_actions();
47 47 }
48 48
@@ -160,8 +160,9 @@
160 160 * @return bool True if skin added, False otherwise.
161 161
162 162 * @since 3.0.0 New `$options` parameter added.
163 163 * @access public
164 + *
164 165 */
165 166 public function add_control( $id, $args = [], $options = [] ) {
166 167 $args['condition']['_skin'] = $this->get_id();
167 168 return parent::add_control( $id, $args, $options );
@@ -196,8 +197,9 @@
196 197 * @param array $options
197 198 *
198 199 * @since 1.0.5
199 200 * @access public
201 + *
200 202 */
201 203 public function add_responsive_control( $id, $args, $options = [] ) {
202 204 $args['condition']['_skin'] = $this->get_id();
203 205 parent::add_responsive_control( $id, $args );
@@ -245,8 +247,9 @@
245 247 * @param array $options
246 248 *
247 249 * @since 1.0.0
248 250 * @access public
251 + *
249 252 */
250 253 final public function add_group_control( $group_name, $args = [], $options = [] ) {
251 254 $args['condition']['_skin'] = $this->get_id();
252 255 parent::add_group_control( $group_name, $args );
@@ -259,10 +262,10 @@
259 262 *
260 263 * @since 1.0.0
261 264 * @access public
262 265 *
263 - * @param Widget_Base $element_parent Parent widget.
266 + * @param Widget_Base $parent Parent widget.
264 267 */
265 - public function set_parent( $element_parent ) {
266 - $this->parent = $element_parent;
268 + public function set_parent( $parent ) {
269 + $this->parent = $parent;
267 270 }
268 271 }