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

View on GitHub



Changelog

Changelog
Version Description
WP-3.0.0 Introduced.