| 1 |
<?php |
| 2 |
|
| 3 |
$content = apply_filters( 'the_content', get_the_content() ); |
| 4 |
|
| 5 |
$_htags = $_enable_toc = null; |
| 6 |
|
| 7 |
if ( isset( $htags ) ) { |
| 8 |
$_htags = $htags; |
| 9 |
} |
| 10 |
if ( isset( $enable_toc ) ) { |
| 11 |
$_enable_toc = $enable_toc; |
| 12 |
} |
| 13 |
|
| 14 |
echo betterdocs()->template_helper->content( $content, $_htags, $_enable_toc ); //phpcs:ignore WordPress.Security.EscapeOutput.OutputNotEscaped |
| 15 |
|