ads
3 months ago
groups
1 week ago
metaboxes
1 year ago
placements
2 months ago
screens
3 months ago
settings
1 year ago
support
2 months ago
tables
1 week ago
tools
1 week ago
upgrades
1 year ago
widgets
1 week ago
bulk-edit.php
3 months ago
feedback-disable.php
1 year ago
header-tabs.php
3 months ago
header.php
3 months ago
index.php
2 years ago
manual-link.php
1 year ago
page-bulk-edit.php
1 year ago
page-quick-edit.php
1 year ago
quick-edit.php
2 months ago
screen-options.php
3 months ago
table-views-list.php
3 months ago
welcome-box.php
1 year ago
page-bulk-edit.php
48 lines
| 1 | <?php |
| 2 | /** |
| 3 | * Page/Post bulk edit fields |
| 4 | * |
| 5 | * @package AdvancedAds |
| 6 | * @author Advanced Ads <info@wpadvancedads.com> |
| 7 | * @since 2.0 |
| 8 | */ |
| 9 | |
| 10 | use AdvancedAds\Admin\Upgrades; |
| 11 | |
| 12 | ?> |
| 13 | <fieldset class="inline-edit-col-right"> |
| 14 | <table class="advads-bulk-edit-fields"> |
| 15 | <tr> |
| 16 | <td> |
| 17 | <span class="title"><?php esc_html_e( 'Disable ads', 'advanced-ads' ); ?></span></td> |
| 18 | <td> |
| 19 | <label> |
| 20 | <select name="advads_disable_ads"> |
| 21 | <option value="">— <?php esc_html_e( 'No Change', 'advanced-ads' ); ?> —</option> |
| 22 | <option value="on"><?php esc_html_e( 'Disable', 'advanced-ads' ); ?></option> |
| 23 | <option value="off"><?php esc_html_e( 'Allow', 'advanced-ads' ); ?></option> |
| 24 | </select> |
| 25 | </label> |
| 26 | </td> |
| 27 | </tr> |
| 28 | <tr> |
| 29 | <td> |
| 30 | <span class="title"><?php esc_html_e( 'Disable injection into the content', 'advanced-ads' ); ?></span></td> |
| 31 | <td> |
| 32 | <label> |
| 33 | <select name="advads_disable_the_content" <?php echo defined( 'AAP_VERSION' ) ? null : 'disabled'; ?>> |
| 34 | <option value="">— <?php esc_html_e( 'No Change', 'advanced-ads' ); ?> —</option> |
| 35 | <option value="on"><?php esc_html_e( 'Disable', 'advanced-ads' ); ?></option> |
| 36 | <option value="off"><?php esc_html_e( 'Allow', 'advanced-ads' ); ?></option> |
| 37 | </select> |
| 38 | <?php |
| 39 | if ( ! defined( 'AAP_VERSION' ) ) { |
| 40 | Upgrades::upgrade_link( '', 'https://wpadvancedads.com/advanced-ads-pro/', 'upgrade-pro-disable-post-quick-edit' ); |
| 41 | } |
| 42 | ?> |
| 43 | </label> |
| 44 | </td> |
| 45 | </tr> |
| 46 | </table> |
| 47 | </fieldset> |
| 48 |