wzkb_trp_rest_translatable_keys
Filters the response keys Knowledge Base translates with TranslatePress.
Type: filter
Since: 3.1.5
Source: includes/frontend/class-language-handler.php line 411
Parameters
| Type | Name | Description |
|---|---|---|
array |
$keys |
Associative array of content and url key names. |
Usage
add_filter( 'wzkb_trp_rest_translatable_keys', function($keys) {
// ...
return $keys;
} );