add_term_relationship – action

Fires immediately before an object-term relationship is added. 

Parameters

.
( 2.9.0 ) . .
Added
( 4.7.0 ) the `$taxonomy` parameter. . . .
( int ) $object_id Object ID. . . .
( int ) $tt_id Term taxonomy ID. . . .
$taxonomy
( string ) Taxonomy slug. . . .
API Letters: ,,

Implementers