Description
Fires just before the post is inserted or updated.
Usage
do_action(
'wp_data_sync_before_post_data'
,
$post_object
);
Parameters
$post_object | array | Post object data array |
Code Example
add_action(
'wp_data_sync_before_post_data',
function
(
$post_object
) {
//Do cool stuff here!!
), 10, 1 );
Contact us if you need a code example for this hook. We are happy to review your request.