- 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>
27 lines
968 B
PHP
Executable File
27 lines
968 B
PHP
Executable File
<?php
|
|
/**
|
|
* The view to render the option.
|
|
*
|
|
* @package AdvancedAds
|
|
* @author Advanced Ads <info@wpadvancedads.com>
|
|
* @since 1.2.0
|
|
*
|
|
* @var int $checked Value of 1, when the option is checked.
|
|
*/
|
|
|
|
use AdvancedAds\Utilities\Conditional;
|
|
|
|
?>
|
|
<label>
|
|
<input id="advanced-ads-block-bots" type="checkbox" value="1" name="<?php echo esc_attr( ADVADS_SLUG ); ?>[block-bots]" <?php checked( $checked, 1 ); ?>>
|
|
<?php if ( Conditional::is_ua_bot() ) : ?>
|
|
<span class="advads-notice-inline advads-error"><?php esc_html_e( 'You look like a bot', 'advanced-ads' ); ?></span>
|
|
<?php endif; ?>
|
|
<?php esc_html_e( 'Hide ads from crawlers, bots and empty user agents.', 'advanced-ads' ); ?>
|
|
<span class="description">
|
|
<a href="https://wpadvancedads.com/hide-ads-from-bots/?utm_source=advanced-ads&utm_medium=link&utm_campaign=settings" target="blank" class="advads-external-link">
|
|
<?php esc_html_e( 'Read this first', 'advanced-ads' ); ?>
|
|
</a>
|
|
</span>
|
|
</label>
|