Skip to content

Commit

Permalink
Update widget-output-caching.md (#286)
Browse files Browse the repository at this point in the history
  • Loading branch information
ramiy authored Sep 18, 2024
1 parent de8e97a commit d1ffeba
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/widgets/widget-output-caching.md
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ To enhance widget performance by caching static content, apply the following met
```php
class Elementor_Test_Widget extends \Elementor\Widget_Base {

protected function is_dynamic_content() {
protected function is_dynamic_content(): bool {
return false;
}

Expand All @@ -59,7 +59,7 @@ Let's say you have a widget with a single control in which the users can set a "
<?php
class Elementor_Test_Widget extends \Elementor\Widget_Base {

protected function is_dynamic_content() {
protected function is_dynamic_content(): bool {
return false;
}

Expand Down

0 comments on commit d1ffeba

Please sign in to comment.