sanitize_category()
2020-05-02 / 3002阅 / 悠然
如何你看完本文还不知道如何使用该函数,可以联系我定制视频教程,50元/个函数,学不会全额退款
sanitize_category( object|array $category, string $context = 'display' )
根据>清理类别数据
Contents
- Description
- Parameters
- Return
- Source
- Changelog
- Related
- User Contributed Notes
参数
- $category
(object|array)
(Required)
Category data
- $context
(string)
(Optional)
Default is 'display'.
Default value: 'display'
返回
(object|array) Same type as $category with sanitized data for safe use.