W3cubDocs

/WordPress

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

View on Trac

Changelog

Version Description
2.0.3 Introduced.

© 2003–2019 WordPress Foundation
Licensed under the GNU GPLv2+ License.
https://developer.wordpress.org/reference/hooks/pre_category_nicename