Description
Filter the taxonomy.
Usage
apply_filters( 'wp_data_sync_term_taxonomy', $taxonomy, $term_name, $parent_id, $post_id );
Parameters
$taxonomy | string | Taxonomy slug | $term_name | string | Name of the term | $parent_id | int | The Post Parent ID | $post_id | int | The Post ID |
Code Example
add_filter( 'wp_data_sync_term_taxonomy', function( $taxonomy, $term_name, $parent_id, $post_id ) {
//Do cool stuff here!!
return $taxonomy;
), 10, 4 );
Contact us if you need a code example for this hook. We are happy to review your request.