get_term_field Wordpress function


Description:

Get sanitized Term field.


Syntax:


Arguments:

(string) $field Term field to fetch
(int) $term Term ID
(string) $taxonomy Taxonomy Name
(string) $context Optional, default is display. Look at sanitize_term_field() for available options.


Return Type:

(mixed) Will return an empty string if $term is not an object or if $field is not set in $term.


Define At:

wp-includes/taxonomy.php


Wordpress Reference URL:

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