Description
Apply a filter to the name of a term
Usage
apply_filters( 'wp_data_sync_term_name', $term_name, $taxonomy, $parent_id );
Parameters
$term_name | string | The name of the term | $taxonomy | string | The name of the taxonomy | $parent_id | int | The term ID of the parent term |
Code Example
add_filter( 'wp_data_sync_term_name', function( $term_name, $taxonomy, $parent_id ) {
//Do cool stuff here!!
return $term_name;
), 10, 3 );
Contact us if you need a code example for this hook. We are happy to review your request.