apply_filters( 'pre_insert_term', string|WP_Error $term, string $taxonomy )

Filters a term before it is sanitized and inserted into the database.


Description Description


Parameters Parameters

$term

(string|WP_Error) The term name to add or update, or a WP_Error object if there's an error.

$taxonomy

(string) Taxonomy slug.


Top ↑

Source Source

File: wp-includes/taxonomy.php

View on Trac


Top ↑

Changelog Changelog

Changelog
Version Description
3.0.0 Introduced.


Top ↑

User Contributed Notes User Contributed Notes

You must log in before being able to contribute a note or feedback.