mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2025-10-16 12:05:38 +00:00
Docs: Clarify the return value for wp_create_categories().
See #32246. git-svn-id: https://develop.svn.wordpress.org/trunk@35975 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
parent
9dbca6b6c3
commit
f8909ca7d6
@ -65,7 +65,7 @@ function wp_create_category( $cat_name, $parent = 0 ) {
|
||||
*
|
||||
* @param array $categories List of categories to create.
|
||||
* @param int $post_id Optional. The post ID. Default empty.
|
||||
* @return List of categories to create for the given post.
|
||||
* @return array List of categories to create for the given post.
|
||||
*/
|
||||
function wp_create_categories( $categories, $post_id = '' ) {
|
||||
$cat_ids = array ();
|
||||
|
||||
Loading…
Reference in New Issue
Block a user