Description
Fires after the post object is inserted. This is used to apply user functions to taxonomies.
Usage
add_action(
'wp_data_sync_taxonomies'
,
'my_taxonomies'
, 10, 2
);
Parameters
$post_id
int
The WordPress post ID
$taxonomies
array
Array of taxonomies keyed with taxonomy names
Code Example
add_action(
'wp_data_sync_taxonomies'
,
'my_taxonomies'
, 10, 2
);
function
my_taxonomies
(
$post_id
,
$taxonomies
) {
//Do cool stuff here!!
}
Contact us if you need a better code example for this hook. We are happy to write one for you.