Description
Filter the value of a meta field.
Usage
apply_filters( 'wp_data_sync_meta_value', $meta_value, $meta_key, $post_id, $data_ssnc );
Parameters
$meta_value | string | The meta value. | $meta_key | string | The key for the meta filed. | $post_id | int | WP post ID. | $data_ssnc | object | DataSync object |
Code Example
add_filter( 'wp_data_sync_meta_value', function( $meta_value, $meta_key, $post_id, $data_ssnc ) {
//Do cool stuff here!!
return $meta_value;
), 10, 4 );
Contact us if you need a code example for this hook. We are happy to review your request.