laipower/wp-content/upgrade-temp-backup/plugins/w3-total-cache/inc/widget/latest_news_ajax.php
2023-10-22 22:21:48 +00:00

19 lines
382 B
PHP

<?php
namespace W3TC;
if ( ! defined( 'W3TC' ) ) {
die();
}
?>
<?php foreach ( $items as $item ) : ?>
<h4>
<a href="<?php echo esc_url( $item['link'] ); ?>">
<?php echo esc_html( wp_strip_all_tags( $item['title'] ) ); ?>
</a>
</h4>
<?php endforeach ?>
<p style="text-align: center;">
<a href="<?php echo esc_url( W3TC_NEWS_FEED_URL ); ?>" target="_blank">View Feed</a>
</p>