mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2025-10-16 12:05:38 +00:00
After [35028], normalize get_term_field() doc formatting.
Fixes #34245. git-svn-id: https://develop.svn.wordpress.org/trunk@35029 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
parent
8847a58443
commit
d632e2c4c1
@ -927,10 +927,10 @@ function get_term_children( $term_id, $taxonomy ) {
|
||||
*
|
||||
* @see sanitize_term_field()
|
||||
*
|
||||
* @param string $field Term field to fetch.
|
||||
* @param int|WP_Term $term Term ID or object.
|
||||
* @param string $taxonomy Optional. Taxonomy Name. Default empty.
|
||||
* @param string $context Optional, default is display. Look at sanitize_term_field() for available options.
|
||||
* @param string $field Term field to fetch.
|
||||
* @param int|WP_Term $term Term ID or object.
|
||||
* @param string $taxonomy Optional. Taxonomy Name. Default empty.
|
||||
* @param string $context Optional, default is display. Look at sanitize_term_field() for available options.
|
||||
* @return string|int|null|WP_Error Will return an empty string if $term is not an object or if $field is not set in $term.
|
||||
*/
|
||||
function get_term_field( $field, $term, $taxonomy = '', $context = 'display' ) {
|
||||
|
||||
Loading…
Reference in New Issue
Block a user