| 1 |
<?php |
| 2 |
// phpcs:disable WordPress.Security.EscapeOutput.OutputNotEscaped,WordPress.Security.EscapeOutput.ExceptionNotEscaped,WordPress.Security.EscapeOutput.UnsafePrintingFunction -- Legacy Customify view output contains trusted config HTML, dynamic CSS/JS, or WordPress Customizer binding attributes. |
| 3 |
|
| 4 |
/** |
| 5 |
* Class Pix_Customize_HTML_Control |
| 6 |
*/ |
| 7 |
class Pix_Customize_HTML_Control extends Pix_Customize_Control { |
| 8 |
public $type = 'html'; |
| 9 |
public $action = null; |
| 10 |
public $html = null; |
| 11 |
|
| 12 |
/** |
| 13 |
* Render the control's content. |
| 14 |
*/ |
| 15 |
public function render_content() { |
| 16 |
if ( ! empty( $this->html ) ) { |
| 17 |
echo ( $this->html ); |
| 18 |
} |
| 19 |
} |
| 20 |
} |
| 21 |
|