Update elementor pro
This commit is contained in:
@@ -55,8 +55,15 @@ class Tag extends DynamicTagsTag {
|
||||
'off_canvas',
|
||||
[
|
||||
'label' => esc_html__( 'Choose Off-Canvas widget', 'elementor-pro' ),
|
||||
'atomic_label' => esc_html__( 'Off-canvas widget', 'elementor-pro' ),
|
||||
'placeholder' => '',
|
||||
'type' => Controls_Manager::SELECT,
|
||||
'label_block' => true,
|
||||
'options' => [
|
||||
'' => esc_html__( 'Select Off-canvas', 'elementor-pro' ),
|
||||
],
|
||||
'default' => '',
|
||||
'collection_id' => $this->get_name(),
|
||||
]
|
||||
);
|
||||
}
|
||||
|
||||
@@ -37,9 +37,8 @@ class Off_Canvas extends Widget_Nested_Base {
|
||||
return [ 'pro-elements' ];
|
||||
}
|
||||
|
||||
// TODO: Replace this check with `is_active_feature` on 3.28.0 to support is_active_feature second parameter.
|
||||
public function show_in_panel() {
|
||||
return Plugin::elementor()->experiments->is_feature_active( 'nested-elements' ) && Plugin::elementor()->experiments->is_feature_active( 'container' );
|
||||
return Plugin::elementor()->experiments->is_feature_active( 'nested-elements', true );
|
||||
}
|
||||
|
||||
public function has_widget_inner_wrapper(): bool {
|
||||
|
||||
Reference in New Issue
Block a user