Description
Filter the name of the meta key for the WooCommerce product gallery.
Usage
apply_filters( 'wp_data_sync_gallery_image_meta_key', $meta_key );
Parameters
$meta_key | string | The name of the meta key |
Code Example
add_filter( 'wp_data_sync_gallery_image_meta_key', function( $meta_key ) {
//Do cool stuff here!!
return $meta_key;
), 10, 1 );
Contact us if you need a code example for this hook. We are happy to review your request.