Description
Fires after the post object is inserted. This is used to apply user functions to taxonomies.
Usage
do_action(
'wp_data_sync_taxonomies'
,
$post_id
,
$taxonomies
);
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',
function
(
$post_id
,
$taxonomies
) {
//Do cool stuff here!!
), 10, 2 );
Contact us if you need a code example for this hook. We are happy to review your request.