Complement WC_Product_CSV_Importer::parse_published_field() phpdoc
Add a phrase to WC_Product_CSV_Importer::parse_published_field() phpdoc to note that 'true' and 'false' are also supported to set product published status.
This commit is contained in:
parent
7e3eec3ed6
commit
c21a69ff6d
|
@ -595,6 +595,7 @@ class WC_Product_CSV_Importer extends WC_Product_Importer {
|
|||
|
||||
/**
|
||||
* Parse the published field. 1 is published, 0 is private, -1 is draft.
|
||||
* Alternatively, 'true' can be used for published and 'false' for draft.
|
||||
*
|
||||
* @param string $value Field value.
|
||||
*
|
||||
|
|
Loading…
Reference in New Issue