| 1 |
<?php if ( ! defined( 'ABSPATH' ) ) exit; // Exit if accessed directly ?> |
| 2 |
<?php |
| 3 |
|
| 4 |
// ================================================================== |
| 5 |
// output the values into the the page or input in the correct way |
| 6 |
// allowing to have double and single quotes inside input |
| 7 |
// ================================================================== |
| 8 |
|
| 9 |
function yydev_notes_html_output($output_code) { |
| 10 |
|
| 11 |
$output_code = stripslashes_deep($output_code); |
| 12 |
$output_code = esc_html($output_code); |
| 13 |
return $output_code; |
| 14 |
|
| 15 |
} // function yydev_notes_html_output($output_code) { |
| 16 |
|