| 1 |
<?php |
| 2 |
/** |
| 3 |
* Template variables: |
| 4 |
* |
| 5 |
* @var $controllers array Widgets/Addons Settings |
| 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 |
<div class="rtsb-archive-title"> |
| 14 |
<?php |
| 15 |
$htmltag = ! empty( $controllers['archive_title_html_tag'] ) ? $controllers['archive_title_html_tag'] : 'h2'; |
| 16 |
printf( '<%1$s class="archive-title">%2$s</%1$s>', esc_html( $htmltag ), woocommerce_page_title( false ) ); //phpcs:ignore WordPress.Security.EscapeOutput.OutputNotEscaped |
| 17 |
?> |
| 18 |
</div> |
| 19 |
|