- WordPress core y plugins - Tema Twenty Twenty-Four configurado - Plugin allow-unfiltered-html.php simplificado - .gitignore configurado para excluir wp-config.php y uploads 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <noreply@anthropic.com>
23 lines
555 B
PHP
Executable File
23 lines
555 B
PHP
Executable File
<?php
|
|
/**
|
|
* Render the "Date" column date in the ad list.
|
|
*
|
|
* @package AdvancedAds
|
|
* @author Advanced Ads <info@wpadvancedads.com>
|
|
* @since 1.48.0
|
|
*
|
|
* @var string $published_date ad published date.
|
|
* @var string $modified_date ad modified date.
|
|
*/
|
|
|
|
?>
|
|
<div class="advads-ad-list-date">
|
|
<?php if ( $modified_date === $published_date ) : ?>
|
|
<?php esc_html_e( 'Published', 'advanced-ads' ); ?>
|
|
<?php else : ?>
|
|
<?php esc_html_e( 'Last Modified', 'advanced-ads' ); ?>
|
|
<?php endif; ?>
|
|
<br/>
|
|
<?php echo esc_html( $modified_date ); ?>
|
|
</div>
|