wzkb_term_permalink_structure
Filters the Knowledge Base term permalink structure.
Type: filter
Since: 3.0.0
Source: includes/pro/class-custom-permalinks.php line 318
Parameters
| Type | Name | Description |
|---|---|---|
string |
$structure |
The permalink structure. |
object |
$term |
The term object. |
string |
$taxonomy |
The taxonomy slug. |
string |
$termlink |
The term’s permalink. |
self |
$instance |
The Custom_Permalinks instance. |
Usage
add_filter( 'wzkb_term_permalink_structure', function($structure, $term, $taxonomy, $termlink, $instance) {
// ...
return $structure;
} );