| @@ -461,16 +461,8 @@ | ||
| 461 | 461 | |
| 462 | 462 | return $this; |
| 463 | 463 | } |
| 464 | 464 | |
| 465 | - public function reset_descendant_render_state(): void { | |
| 466 | - $this->reset_render_state(); | |
| 467 | - | |
| 468 | - foreach ( $this->get_children() as $child ) { | |
| 469 | - $child->reset_descendant_render_state(); | |
| 470 | - } | |
| 471 | - } | |
| 472 | - | |
| 473 | 465 | /** |
| 474 | 466 | * Print element. |
| 475 | 467 | * |
| 476 | 468 | * Used to generate the element final HTML on the frontend and the editor. |