mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2026-08-13 13:20:20 +00:00
Docs: Various corrections to inline docblocks.
See #49572 git-svn-id: https://develop.svn.wordpress.org/trunk@48573 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
@@ -300,8 +300,8 @@ function get_terms_to_edit( $post_id, $taxonomy = 'post_tag' ) {
|
||||
*
|
||||
* @since 2.8.0
|
||||
*
|
||||
* @param int|string $tag_name
|
||||
* @param string $taxonomy Optional. The taxonomy for which to retrieve terms. Default 'post_tag'.
|
||||
* @param string $tag_name The term name.
|
||||
* @param string $taxonomy Optional. The taxonomy within which to create the term. Default 'post_tag'.
|
||||
* @return array|WP_Error
|
||||
*/
|
||||
function wp_create_term( $tag_name, $taxonomy = 'post_tag' ) {
|
||||
|
||||
Reference in New Issue
Block a user