woocommerce_product_export_meta_value

woocommerce_product_export_meta_value

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

See hook in core

Displaying hooks found in version: woocommerce.9.8.1

apply_filters('woocommerce_product_export_meta_value') is found 1 times:

  • /includes/export/class-wc-product-csv-exporter.php line 737
    733
    734
    735
    736
    737
    738
    739
    740
    741
    742
    743
        continue;
    }
     
    // Allow 3rd parties to process the meta, e.g. to transform non-scalar values to scalar.
    $meta_value = apply_filters( 'woocommerce_product_export_meta_value', $meta->value, $meta, $product, $row );
     
    if ( ! is_scalar( $meta_value ) ) {
        continue;
    }
     
    $column_key = 'meta:' . esc_attr( $meta->key );