Inventory_Presser_Taxonomy_Overlapper::hooks_add_terms()

On This Page


Source Source

File: includes/class-taxonomy-overlapper.php

	function hooks_add_terms() {
		// Do the same when taxonomy term relationships are changed
		add_action( 'added_term_relationship', array( $this, 'term_relationship_updated' ), 10, 3 );
		add_action( 'deleted_term_relationships', array( $this, 'term_relationship_deleted' ), 10, 3 );
	}