Files
roi-theme/wp-content/plugins/advanced-ads/modules/privacy/admin/views/setting-ad-ignore-consent.php
root a22573bf0b Commit inicial - WordPress Análisis de Precios Unitarios
- 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>
2025-11-03 21:04:30 -06:00

26 lines
931 B
PHP
Executable File

<?php
/**
* Single ad section for overriding privacy settings.
* Not used if privacy not activated or method is 'iab_tcf_20' and ad type 'adsense'.
*
* @var bool $ignore_consent Whether to override privacy setting for this ad.
*/
?>
<div class="advads-option-list">
<span class="label"><?php esc_html_e( 'privacy', 'advanced-ads' ); ?></span>
<div id="advanced-ads-ad-parameters-privacy">
<label>
<input name="advanced_ad[privacy][ignore-consent]" type="checkbox" <?php checked( $ignore_consent ); ?>/>
<?php
printf(
/* Translators: 1: a tag with link to general privacy settings, 2: closing a tag */
esc_html__( 'Ignore %1$sgeneral Privacy settings%2$s and display the ad even without consent.', 'advanced-ads' ),
'<a onclick="event.stopPropagation();" href="' . esc_url( admin_url( 'admin.php?page=advanced-ads-settings#top#privacy' ) ) . '">',
'</a>'
);
?>
</label>
</div>
</div>
<hr/>