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