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