发布时间:2020-09-17
WordPress 常用函数 / wp_filter_kses,
清理内容,只使用允许的 HTML 标签。
<?php wp_filter_kses( $data ) ?>
$data
(string) (required) 要过滤的内容。
Default: None
(string)
过滤之后的日志内容。
<script async src="//pagead2.googlesyndication.com/pagead/js/adsbygoogle.js"></script> <script> (adsbygoogle = window.adsbygoogle || []).push({}); </script>
Since: 1.0.0
wp-includes/kses.php
全站搜索