Menu Adam R Brown

WP hooks navigation: Home/browseActions indexFilters index

WordPress hook directory
pre_category_name

Warning! This hook has been renamed!

As of WP version 2.3, this hook has been renamed to pre_{$taxonomy}_{$field}.

Description

Applied to the category name prior to saving in the database.

This description was scraped automatically from the WordPress filter reference or action reference. If it looks like this is the wrong description, please tell me so I can fix my code.

WordPress version history for pre_category_name

This database has information for all major versions from WP 1.2.1 through 6.2.

Version File Line Type
2.0.11 wp-admin/admin-db.php 95 View in context filter
2.1 wp-admin/admin-db.php 98 View in context filter
2.2 wp-admin/admin-db.php 98 View in context filter
2.3 Renamed. See pre_{$taxonomy}_{$field}

Related Hooks

We find related hooks using word stems. pre_category_name has 2 significant word stem(s): category, name. Note that some of the hooks below may not appear in all versions of WP.