Description
Fire after the post meta is processed.
Usage
do_action(
'wp_data_sync_post_meta'
,
$post_id
,
$post_meta
,
$data_sync
);
Parameters
$post_id | int | The WordPress post ID | $post_meta | array | Post meta data array | $data_sync | object | DataSync object |
Code Example
Insert geo location coordinates into custom database table.
add_action(
'wp_data_sync_post_meta',
function
(
$post_id
,
$post_meta
,
$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.