mirror of
git://develop.git.wordpress.org/
synced 2025-01-17 21:08:44 +01:00
Docs: Copy a helpful inline doc into the function header for visibility.
See #42505 git-svn-id: https://develop.svn.wordpress.org/trunk@42664 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
parent
2c6f1b18f4
commit
37a1552e39
@ -4099,7 +4099,9 @@ function wp_set_post_tags( $post_id = 0, $tags = '', $append = false ) {
|
|||||||
*
|
*
|
||||||
* @param int $post_id Optional. The Post ID. Does not default to the ID of the global $post.
|
* @param int $post_id Optional. The Post ID. Does not default to the ID of the global $post.
|
||||||
* @param string|array $tags Optional. An array of terms to set for the post, or a string of terms
|
* @param string|array $tags Optional. An array of terms to set for the post, or a string of terms
|
||||||
* separated by commas. Default empty.
|
* separated by commas. Hierarchical taxonomies must always pass IDs rather
|
||||||
|
* than names so that children with the same names but different parents
|
||||||
|
* aren't confused. Default empty.
|
||||||
* @param string $taxonomy Optional. Taxonomy name. Default 'post_tag'.
|
* @param string $taxonomy Optional. Taxonomy name. Default 'post_tag'.
|
||||||
* @param bool $append Optional. If true, don't delete existing terms, just add on. If false,
|
* @param bool $append Optional. If true, don't delete existing terms, just add on. If false,
|
||||||
* replace the terms with the new terms. Default false.
|
* replace the terms with the new terms. Default false.
|
||||||
|
Loading…
x
Reference in New Issue
Block a user