函数原型
kses_init()
函数描述
Sets up most of the KSES filters for input form content.
是否弃用
未弃用
函数参数
无
函数返回值
无
函数位置
File: wp-includes/kses.php.
函数源码
function kses_init() {
kses_remove_filters();
if ( ! current_user_can( 'unfiltered_html' ) ) {
kses_init_filters();
}
}
源码链接
变更日志
| Version | Description |
|---|---|
| 2.0.0 | Introduced. |

