Allow third-party plugins to filter the data in a single row of the exported CSV file.
$row, $product, $this
Sortie :
@param array $row An associative array with the data of a single row in the CSV file. @param WC_Product $product The product object corresponding to the current row. @param WC_Product_CSV_Exporter $exporter The instance of the CSV exporter.
// Modifier la valeur avec le filtre 'woocommerce_product_export_row_data'
add_filter('woocommerce_product_export_row_data', 'ma_fonction_filtre', 10, 1);
function ma_fonction_filtre($row) {
// Modifier la valeur
return $row;
}
Chargement des actualités...