Inventory_Presser_Taxonomy_Overlapper::hooks_add_terms()

When certain taxonomy term relationships are changed, update matching post meta fields.


Return Return

(void)


Top ↑

Source Source

File: includes/class-taxonomy-overlapper.php

	protected function hooks_add_terms() {
		add_action( 'added_term_relationship', array( $this, 'term_relationship_updated' ), 10, 3 );
		add_action( 'deleted_term_relationships', array( $this, 'term_relationship_deleted' ), 10, 3 );
	}