Fix the @return description of the CSV Import categories parsing function
This commit is contained in:
parent
ea17484e42
commit
7982efb3df
|
@ -384,7 +384,7 @@ class WC_Product_CSV_Importer extends WC_Product_Importer {
|
||||||
*
|
*
|
||||||
* @param string $value Field value.
|
* @param string $value Field value.
|
||||||
*
|
*
|
||||||
* @return array|WP_Error
|
* @return array of arrays with "parent" and "name" keys.
|
||||||
*/
|
*/
|
||||||
public function parse_categories_field( $value ) {
|
public function parse_categories_field( $value ) {
|
||||||
if ( empty( $value ) ) {
|
if ( empty( $value ) ) {
|
||||||
|
|
Loading…
Reference in New Issue