Description
Filter meta value for a specific meta key.
Usage
apply_filters( 'wp_data_sync_{$meta_key}_value', $meta_value, $post_id, $data_sync );
Parameters
$meta_value | mixed | Value for the meta key | $post_id | int | The WP post object ID | $data_sync | object | DataSync object |
Code Example
add_filter( 'wp_data_sync_{$meta_key}_value', function( $meta_value, $post_id, $data_sync ) {
//Do cool stuff here!!
return $meta_value;
), 10, 3 );
Contact us if you need a code example for this hook. We are happy to review your request.