wzkb_article_permalink_structure
Filters the Knowledge Base article permalink structure.
Type: filter
Since: 3.0.0
Source: includes/pro/class-custom-permalinks.php line 262
Parameters
| Type | Name | Description |
|---|---|---|
string |
$structure |
The permalink structure. |
\WP_Post |
$post |
The post in question. |
string |
$permalink |
The post’s permalink. |
self |
$instance |
The Custom_Permalinks instance. |
Usage
add_filter( 'wzkb_article_permalink_structure', function($structure, $post, $permalink, $instance) {
// ...
return $structure;
} );