Docs: Correct documentation for the filter
parameter of get_category()
and get_tag()
.
Follow-up to [48197]. See #49572. git-svn-id: https://develop.svn.wordpress.org/trunk@48219 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
parent
99c3a2695b
commit
6c81fa8a73
@ -84,7 +84,7 @@ function get_categories( $args = '' ) {
|
||||
* @param string $output Optional. The required return type. One of OBJECT, ARRAY_A, or ARRAY_N,
|
||||
* which correspond to a WP_Term object, an associative array, or a numeric array,
|
||||
* respectively. Default OBJECT.
|
||||
* @param string $filter Optional. Default is raw or no WordPress defined filter will applied.
|
||||
* @param string $filter Optional. How to sanitize category fields. Default 'raw'.
|
||||
* @return object|array|WP_Error|null Category data in type defined by $output parameter.
|
||||
* WP_Error if $category is empty, null if it does not exist.
|
||||
*/
|
||||
@ -332,7 +332,7 @@ function get_tags( $args = '' ) {
|
||||
* @param string $output Optional. The required return type. One of OBJECT, ARRAY_A, or ARRAY_N,
|
||||
* which correspond to a WP_Term object, an associative array, or a numeric array,
|
||||
* respectively. Default OBJECT.
|
||||
* @param string $filter Optional. Default is raw or no WordPress defined filter will applied.
|
||||
* @param string $filter Optional. How to sanitize tag fields. Default 'raw'.
|
||||
* @return WP_Term|array|WP_Error|null Tag data in type defined by $output parameter.
|
||||
* WP_Error if $tag is empty, null if it does not exist.
|
||||
*/
|
||||
|
Loading…
Reference in New Issue
Block a user