Inventory_Presser_Taxonomy_Overlapper::hooks_remove_meta()

Removes the hooks from post meta adds, updates, and deletes.

On This Page


Return Return

(void)


Top ↑

Source Source

File: includes/class-taxonomy-overlapper.php

	protected function hooks_remove_meta() {
		remove_action( 'updated_postmeta', array( $this, 'maintain_taxonomy_terms_during_meta_updates' ), 10, 4 );
		remove_action( 'added_post_meta', array( $this, 'maintain_taxonomy_terms_during_meta_updates' ), 10, 4 );
		remove_action( 'deleted_post_meta', array( $this, 'maintain_taxonomy_terms_during_meta_updates' ), 10, 4 );
	}