sanitize_category Wordpress function


Description:

Sanitizes category data based on context.


Syntax:


Arguments:

(object|array) $category Category data
(string) $context Optional. Default is 'display'.


Return Type:

(object|array) Same type as $category with sanitized data for safe use.


Define At:

wp-includes/category.php


Wordpress Reference URL:

http://codex.wordpress.org/Function_Reference/sanitize_category


0 Flares Facebook 0 Google+ 0 0 Flares ×
Posted in: Wordpress functions
0 Flares Facebook 0 Pin It Share 0 Google+ 0 0 Flares ×