sanitize_category_field Wordpress function


Description:

Sanitizes data in single category key field.


Syntax:


Arguments:

(string) $field Category key to sanitize
(mixed) $value Category value to sanitize
(int) $cat_id Category ID
(string) $context What filter to use, 'raw', 'display', etc.


Return Type:

(mixed) Same type as $value after $value has been sanitized.


Define At:

wp-includes/category.php


Wordpress Reference URL:

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


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