sanitize_term_field Wordpress function


Description:

Cleanse the field value in the term based on the context.


Syntax:


Arguments:

(string) $field Term field to sanitize
(string) $value Search for this term value
(int) $term_id Term ID
(string) $taxonomy Taxonomy Name
(string) $context Either edit, db, display, attribute, or js.


Return Type:

(mixed) sanitized field


Define At:

wp-includes/taxonomy.php


Wordpress Reference URL:

http://codex.wordpress.org/Function_Reference/sanitize_term_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 ×