Correct docblock for method set_product_image_as_attachment
This commit is contained in:
parent
06a4af5aa0
commit
36ccb0212e
|
@ -1834,10 +1834,10 @@ class WC_API_Products extends WC_API_Resource {
|
|||
}
|
||||
|
||||
/**
|
||||
* Get product image as attachment
|
||||
* Sets product image as attachment and returns the attachment ID.
|
||||
*
|
||||
* @since 2.2
|
||||
* @param integer $upload
|
||||
* @param array $upload
|
||||
* @param int $id
|
||||
* @return int
|
||||
*/
|
||||
|
|
|
@ -2395,7 +2395,7 @@ class WC_API_Products extends WC_API_Resource {
|
|||
* Sets product image as attachment and returns the attachment ID.
|
||||
*
|
||||
* @since 2.2
|
||||
* @param integer $upload
|
||||
* @param array $upload
|
||||
* @param int $id
|
||||
* @return int
|
||||
*/
|
||||
|
|
|
@ -2057,10 +2057,10 @@ class WC_CLI_Product extends WC_CLI_Command {
|
|||
}
|
||||
|
||||
/**
|
||||
* Get product image as attachment
|
||||
* Sets product image as attachment and returns the attachment ID.
|
||||
*
|
||||
* @since 2.5.0
|
||||
* @param int $upload
|
||||
* @param array $upload
|
||||
* @param int $id
|
||||
* @return int
|
||||
*/
|
||||
|
|
Loading…
Reference in New Issue