pre_category_nicename WordPress Filter Hook
The pre_category_nicename filter is used to filter the category nicename before it is sanitized. This filter is useful for customizing the category nicename.
apply_filters( 'pre_category_nicename', string $value ) #
Filters the category nicename before it is sanitized.
Description
Use the ‘pre_$taxonomy_$field’ hook instead.
Parameters
- $value
(string)The category nicename.
Source
File: wp-includes/taxonomy.php
Changelog
Version | Description |
---|---|
2.0.3 | Introduced. |