tptn_features
Filter the map of toggleable features.
Type: filter
Since: 4.4.0
Source: includes/class-feature-manager.php line 96
Parameters
| Type | Name | Description |
|---|---|---|
array | $features | Associative array of feature ID => array with ‘setting’ and ‘default’ keys. |
Usage
add_filter( 'tptn_features', function($features) {
// ...
return $features;
} );