wpml_sync_custom_field_copied_value
Description
In other words, it filters the $copied_value of a $meta_key that will be copied from one post (specified using $post_id_from) to another (specified using $post_id_to).
Arguments
$copied_valuemixedRequiredThe unserialized and slashed value.$post_id_fromintOptionalThe ID of the source post.$post_id_tointOptionalThe ID of the destination post.$meta_keystringOptionalThe key of the post meta being copied.$argsarrayOptionalThe internal parameters.
Example Usage
$copied_value = apply_filters( 'wpml_sync_custom_field_copied_value', $copied_value, $post_id_from, $post_id_to, $meta_key, $args );