pre_insert_term

最后更新于:2021-11-27 19:16:20

apply_filters( ‘pre_insert_term’, string|GC_Error $term, string $taxonomy )

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

参数

$term

(string|GC_Error)
The term name to add, or a GC_Error object if there’s an error.

$taxonomy

(string)
Taxonomy slug.

源文件

文件: gc-includes/taxonomy.php

View on Trac