- 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>
32 lines
884 B
PHP
Executable File
32 lines
884 B
PHP
Executable File
<?php
|
|
/**
|
|
* The view to render the option.
|
|
*
|
|
* @package AdvancedAds
|
|
* @author Advanced Ads <info@wpadvancedads.com>
|
|
* @since 1.47.0
|
|
*
|
|
* @var boolean $allow True, when the option is checked.
|
|
*/
|
|
|
|
?>
|
|
<label>
|
|
<input id="advanced-ads-editors-manage-ads" type="checkbox" <?php checked( $allow, true ); ?> name="<?php echo esc_attr( ADVADS_SLUG ); ?>[editors-manage-ads]"/>
|
|
<?php esc_html_e( 'Allow editors to also manage and publish ads.', 'advanced-ads' ); ?>
|
|
<?php
|
|
printf(
|
|
wp_kses(
|
|
/* translators: %s is a URL. */
|
|
__( 'You can assign different ad-related roles on a user basis with <a href="%s" target="_blank">Advanced Ads Pro</a>.', 'advanced-ads' ),
|
|
[
|
|
'a' => [
|
|
'href' => [],
|
|
'target' => [],
|
|
],
|
|
]
|
|
),
|
|
'https://wpadvancedads.com/add-ons/advanced-ads-pro/?utm_source=advanced-ads&utm_medium=link&utm_campaign=settings'
|
|
);
|
|
?>
|
|
</label>
|