advanced-js.php
1 year ago
allow-unfiltered-html.php
1 year ago
block-bots.php
1 year ago
content-injection-everywhere.php
1 year ago
content-injection-level-limitation.php
1 year ago
content-injection-priority.php
1 year ago
custom-label.php
1 year ago
disable-ads.php
1 year ago
disable-notices.php
1 year ago
disable-post-types.php
1 year ago
editors-manage-ads.php
1 year ago
frontend-prefix.php
1 year ago
hide-for-ip-address.php
1 year ago
hide-for-user-role.php
1 year ago
link-target.php
1 year ago
uninstall-delete-data.php
1 year ago
editors-manage-ads.php
32 lines
| 1 | <?php |
| 2 | /** |
| 3 | * The view to render the option. |
| 4 | * |
| 5 | * @package AdvancedAds |
| 6 | * @author Advanced Ads <info@wpadvancedads.com> |
| 7 | * @since 1.47.0 |
| 8 | * |
| 9 | * @var boolean $allow True, when the option is checked. |
| 10 | */ |
| 11 | |
| 12 | ?> |
| 13 | <label> |
| 14 | <input id="advanced-ads-editors-manage-ads" type="checkbox" <?php checked( $allow, true ); ?> name="<?php echo esc_attr( ADVADS_SLUG ); ?>[editors-manage-ads]"/> |
| 15 | <?php esc_html_e( 'Allow editors to also manage and publish ads.', 'advanced-ads' ); ?> |
| 16 | <?php |
| 17 | printf( |
| 18 | wp_kses( |
| 19 | /* translators: %s is a URL. */ |
| 20 | __( 'You can assign different ad-related roles on a user basis with <a href="%s" target="_blank">Advanced Ads Pro</a>.', 'advanced-ads' ), |
| 21 | [ |
| 22 | 'a' => [ |
| 23 | 'href' => [], |
| 24 | 'target' => [], |
| 25 | ], |
| 26 | ] |
| 27 | ), |
| 28 | 'https://wpadvancedads.com/add-ons/advanced-ads-pro/?utm_source=advanced-ads&utm_medium=link&utm_campaign=settings' |
| 29 | ); |
| 30 | ?> |
| 31 | </label> |
| 32 |