diff --git a/src/editor-controls/control-hover-animation.md b/src/editor-controls/control-hover-animation.md index 83421cc6..593969a7 100644 --- a/src/editor-controls/control-hover-animation.md +++ b/src/editor-controls/control-hover-animation.md @@ -110,7 +110,7 @@ class Elementor_Test_Widget extends \Elementor\Widget_Base { $this->add_render_attribute( 'wrapper', 'class', $elementClass ); ?> -
get_render_attribute_string( 'wrapper' ); ?>> +
print_render_attribute_string( 'wrapper' ); ?>> ...
add_link_attributes( 'website_link', $settings['website_link'] ); } ?> - get_render_attribute_string( 'website_link' ); ?>> + print_render_attribute_string( 'website_link' ); ?>> ... $settings['name'], ] ); + + $this->add_render_attribute( + 'inner', + [ + 'class' => 'custom-widget-inner-class', + 'data-custom' => 'custom-widget-information', + ] + ); ?> -
get_render_attribute_string( 'wrapper' ); ?>> ...
+
get_render_attribute_string( 'wrapper' ); ?>> +
print_render_attribute_string( 'inner' ); ?>> + ... +
+
-
...
+
+
+ ... +
+
add_inline_editing_attributes( 'description', 'basic' ); $this->add_inline_editing_attributes( 'content', 'advanced' ); ?> -

get_render_attribute_string( 'title' ); ?>>

-
get_render_attribute_string( 'description' ); ?>>
-
get_render_attribute_string( 'content' ); ?>>
+

print_render_attribute_string( 'title' ); ?>>

+
print_render_attribute_string( 'description' ); ?>>
+
print_render_attribute_string( 'content' ); ?>>