| 1 | <?php |
||
| 16 | class CSS_Nudge_Customize_Control extends \WP_Customize_Control { |
||
| 17 | |||
| 18 | /** |
||
| 19 | * The type of the nudge. |
||
| 20 | * |
||
| 21 | * @var string |
||
| 22 | */ |
||
| 23 | public $type = 'cssNudge'; |
||
| 24 | |||
| 25 | /** |
||
| 26 | * The Call to Action URL. |
||
| 27 | * |
||
| 28 | * @var string |
||
| 29 | */ |
||
| 30 | public $cta_url; |
||
| 31 | |||
| 32 | /** |
||
| 33 | * The nudge text displayed. |
||
| 34 | * |
||
| 35 | * @var string |
||
| 36 | */ |
||
| 37 | public $nudge_copy; |
||
| 38 | |||
| 39 | /** |
||
| 40 | * Render the nudge on the page. |
||
| 41 | */ |
||
| 42 | public function render_content() { |
||
| 56 | } |
||
| 57 |