| 1 |
<?php |
| 2 |
/** |
| 3 |
* Template variables: |
| 4 |
* |
| 5 |
* @var $controllers array settings as array |
| 6 |
*/ |
| 7 |
|
| 8 |
// Do not allow directly accessing this file. |
| 9 |
if ( ! defined( 'ABSPATH' ) ) { |
| 10 |
exit( 'This script cannot be accessed directly.' ); |
| 11 |
} |
| 12 |
|
| 13 |
global $post; |
| 14 |
if ( empty( $post ) ) { |
| 15 |
return; |
| 16 |
} |
| 17 |
|
| 18 |
?> |
| 19 |
<div class="rtsb-description"> |
| 20 |
<?php |
| 21 |
echo '<div class="woocommerce_product_description">'; |
| 22 |
$the_content = apply_filters( 'the_content', get_the_content( '', '', $post->ID ) ); |
| 23 |
if ( ! empty( $the_content ) ) { |
| 24 |
echo wp_kses_post( $the_content ); |
| 25 |
} |
| 26 |
echo '</div>'; |
| 27 |
?> |
| 28 |
</div> |
| 29 |
|