Description
Perform an action for a specific post meta key.
Usage
do_action(
'wp_data_sync_post_meta_{$meta_key}'
,
$post_id
,
$meta_value
,
$data_sync
);
Parameters
$post_id | int | The post ID | $meta_value | mixed | The meat value | $data_sync | object | DataSync |
Code Example
add_action(
'wp_data_sync_post_meta_{$meta_key}',
function
(
$post_id
,
$meta_value
,
$data_sync
) {
//Do cool stuff here!!
), 10, 3 );
Contact us if you need a code example for this hook. We are happy to review your request.