Description
Fires after the data sync is complete. This is the last hook before returning the response to the API.
Usage
do_action( 'wp_data_sync_after_process', $post_id, $data_sync );
Parameters
$post_id | int | WordPress post ID | $data_sync | object | DataSync object |
Code Example
add_action( 'wp_data_sync_after_process', function( $post_id, $data_sync ) {
//Do cool stuff here!!
), 10, 2 );
Contact us if you need a code example for this hook. We are happy to review your request.