On this page
apply_filters( 'pre_category_nicename', string $value )
Filters the category nicename before it is sanitized.
Description
Use the ‘pre_$taxonomy_$field’ hook instead.
Parameters
$valuestring-
The category nicename.
Source
File: wp-includes/taxonomy.php. View all references
$value = apply_filters( 'pre_category_nicename', $value );
Related
Used By
| Used By | Description |
|---|---|
| sanitize_term_field() wp-includes/taxonomy.php | Sanitizes the field value in the term based on the context. |
Changelog
| Version | Description |
|---|---|
| 2.0.3 | Introduced. |
© 2003–2022 WordPress Foundation
Licensed under the GNU GPLv2+ License.
https://developer.wordpress.org/reference/hooks/pre_category_nicename