| @@ -696,16 +696,8 @@ | ||
| 696 | 696 | public function render_plain_content() { |
| 697 | 697 | $this->render_content(); |
| 698 | 698 | } |
| 699 | 699 | |
| 700 | - public function render_markdown(): string { | |
| 701 | - ob_start(); | |
| 702 | - $this->render_content(); | |
| 703 | - $html = ob_get_clean(); | |
| 704 | - | |
| 705 | - return wp_strip_all_tags( $html ); | |
| 706 | - } | |
| 707 | - | |
| 708 | 700 | /** |
| 709 | 701 | * Before widget rendering. |
| 710 | 702 | * |
| 711 | 703 | * Used to add stuff before the widget `_wrapper` element. |