apply_filters( 'pre_insert_term', string $term , string $taxonomy )
Filters a term before it is sanitized and inserted into the database.
Parameters
- $term
-
The term to add or update.
- $taxonomy
-
Taxonomy slug.
Source
File: wp-includes/taxonomy.php
Changelog
Version | Description |
---|---|
WP-3.0.0 | Introduced. |