condition-author.php
1 year ago
condition-device.php
1 year ago
condition-is-or-not.php
1 year ago
condition-number.php
3 years ago
condition-operator.php
1 year ago
condition-string.php
2 years ago
conditions-form.php
5 months ago
display-conditions-list.php
1 year ago
no-option.php
1 year ago
not-selected.php
4 years ago
visitor-conditions-list.php
1 year ago
condition-operator.php
16 lines
| 1 | <?php |
| 2 | /** |
| 3 | * Template for the is/is_not operator used in many conditions. |
| 4 | * |
| 5 | * @package AdvancedAds |
| 6 | * @var string $name form field name attribute. |
| 7 | * @var string $operator operator value. |
| 8 | */ |
| 9 | |
| 10 | ?> |
| 11 | <select name="<?php echo esc_attr( $name ); ?>[operator]"> |
| 12 | <option value="is" <?php selected( 'is', $operator ); ?>><?php esc_html_e( 'is', 'advanced-ads' ); ?></option> |
| 13 | <option |
| 14 | value="is_not" <?php selected( 'is_not', $operator ); ?>><?php esc_html_e( 'is not', 'advanced-ads' ); ?></option> |
| 15 | </select> |
| 16 |