Description
This is a dynamic hook. Replace {$name} with the name of integration.
Usage
do_action(
'wp_data_sync_integration_{$name}'
,
$post_id
,
$values
,
$data_sync
);
Parameters
$post_id | int | WP Post ID | $values | array | An array of values | $data_sync | object | DataSync Object |
Code Example
add_action(
'wp_data_sync_integration_{$name}',
function
(
$post_id
,
$values
,
$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.