wordpress / latest / hooks / pre_category_nicename.html

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 all references

$value = apply_filters( 'pre_category_nicename', $value );

Used By

Used By Description

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