Description
Fires just before the WooCommerce product attributes are saved as post meta.
Usage
apply_filters( 'wp_data_sync_product_attributes', $product_attributes );
Parameters
$product_attributes | array | An array of product attributes |
Code Example
add_filter( 'wp_data_sync_product_attributes', function( $product_attributes ) {
//Do cool stuff here!!
return $product_attributes;
), 10, 1 );
Contact us if you need a code example for this hook. We are happy to review your request.