Description
Fires after the attribute are processed.
Usage
do_action(
'wp_data_sync_attributes'
,
$post_id
,
$attributes
);
Parameters
$post_id | int | The WordPress post ID | $attributes | array | Product attributes data array |
Code Example
add_action(
'wp_data_sync_attributes',
function
(
$post_id
,
$attributes
) {
//Do cool stuff here!!
), 10, 2 );
Contact us if you need a code example for this hook. We are happy to review your request.