Skip to content

Commit 95ab478

Browse files
Widget Optimization (#316)
1 parent cd4d2c8 commit 95ab478

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/widgets/widget-optimization.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,11 +2,11 @@
22

33
<Badge type="tip" vertical="top" text="Elementor Core" /> <Badge type="warning" vertical="top" text="Intermediate" />
44

5-
Elementor offers several methods and best practices to optimize widgets and improve performance. The optimizations are not implemented for all widgets in order to maintain backwards compatibility. In addition, each widget has its own characteristics. The widget developer needs to add some extra methods to the widget class to make sure Elementor knows how to process it.
5+
Elementor provides various methods to optimize widgets and enhance performance. To maintain backward compatibility, not all optimizations are applied to every widget. Additionally, each widget has unique characteristics, so certain optimizations may not be applicable in all cases.
66

77
## Performance Optimization Methods
88

9-
Elementor widgets has two performance optimization methods:
9+
Widget developers can implement the following two optional methods in their widget classes to help Elementor handle widgets more efficiently:
1010

1111
```php
1212
class Elementor_Test_Widget extends \Elementor\Widget_Base {

0 commit comments

Comments
 (0)