woocommerce_product_import_get_product_object

woocommerce_product_import_get_product_object

Appears in: , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , ,
Hook Type: filter

See hook in core

Displaying hooks found in version: woocommerce.9.5.1

apply_filters('woocommerce_product_import_get_product_object') is found 1 times:

  • /includes/import/abstract-wc-product-importer.php line 215
    		} else {
    			$product = wc_get_product_object( 'simple', $id );
    		}
    
    		return apply_filters( 'woocommerce_product_import_get_product_object', $product, $data );
    	}
    
    	/**
    	 * Process a single item and save.
    	 *
    	 * @throws Exception If item cannot be processed.