plugin updates
This commit is contained in:
@@ -1430,7 +1430,8 @@ function delete_term_meta( $term_id, $meta_key, $meta_value = '' ) {
|
||||
* @return mixed An array of values if `$single` is false.
|
||||
* The value of the meta field if `$single` is true.
|
||||
* False for an invalid `$term_id` (non-numeric, zero, or negative value).
|
||||
* An empty string if a valid but non-existing term ID is passed.
|
||||
* An empty array if a valid but non-existing term ID is passed and `$single` is false.
|
||||
* An empty string if a valid but non-existing term ID is passed and `$single` is true.
|
||||
*/
|
||||
function get_term_meta( $term_id, $key = '', $single = false ) {
|
||||
return get_metadata( 'term', $term_id, $key, $single );
|
||||
|
||||
Reference in New Issue
Block a user