ad-list
5 months ago
conditions
5 months ago
notices
1 year ago
upgrades
1 year ago
ad-conditions-string-operators.php
3 months ago
checks.php
3 months ago
index.php
7 years ago
modal.php
3 months ago
overview-addons-line.php
5 months ago
overview-notice-row.php
1 year ago
overview-widget.php
1 year ago
placement-form.php
1 year ago
placement-injection-top.php
1 year ago
placement-types.php
3 years ago
placements-ad-label.php
1 year ago
placements-inline-css.php
1 year ago
placements-item.php
1 year ago
post-list-filter-dropdown.php
5 months ago
setting-license.php
1 year ago
support-callout.php
1 year ago
placements-inline-css.php
16 lines
| 1 | <?php |
| 2 | /** |
| 3 | * Render inline css option for placements. |
| 4 | * |
| 5 | * @var string $_placement_slug slug of the current placement. |
| 6 | * @var string $_placement Placement with all options. |
| 7 | * @package AdvancedAds |
| 8 | */ |
| 9 | |
| 10 | $inline_css = isset( $_placement['options']['inline-css'] ) ? $_placement['options']['inline-css'] : ''; |
| 11 | ?> |
| 12 | <input |
| 13 | type="text" |
| 14 | value="<?php echo esc_attr( $inline_css ); ?>" |
| 15 | name="advads[placements][<?php echo esc_attr( $_placement_slug ); ?>][options][inline-css]"/> |
| 16 |