Inventory_Presser_Taxonomy_Overlapper::hooks_remove_terms()

hooks_remove_terms


Description Description

Removes the hooks from taxonomy term updates and removals.


Top ↑

Return Return

(void)


Top ↑

Source Source

File: includes/class-taxonomy-overlapper.php

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