add_term_relationship

最后更新于:2021-11-25 19:21:58

do_action( ‘add_term_relationship’, int $object_id, int $tt_id, string $taxonomy )

Fires immediately before an object-term relationship is added.

参数

$object_id

(int)
Object ID.

$tt_id

(int)
Term taxonomy ID.

$taxonomy

(string)
Taxonomy slug.

源文件

文件: gc-includes/taxonomy.php

View on Trac