sanitize_option()
2020-05-02 / 3087阅 / 悠然
如何你看完本文还不知道如何使用该函数,可以联系我定制视频教程,50元/个函数,学不会全额退款
sanitize_option( string $option, string $value )
清除各种基于的选项值>
Contents
- Description
- Parameters
- Return
- Source
- Changelog
- Related
- User Contributed Notes
描述
这基本上是一个switch语句,它将通过许多函数传递$ value,具体取决于>
参数
- $option
(string)
(Required)
The name of the option.
- $value
(string)
(Required)
The unsanitised value.
返回
(string) Sanitized value.