apply_filters( 'pre_insert_term', string|WP_Error $term, string $taxonomy )
Filters a term before it is sanitized and inserted into the database.
© 2003–2021 WordPress Foundation
Licensed under the GNU GPLv2+ License.
https://developer.wordpress.org/reference/hooks/pre_insert_term