WP_Taxonomy::remove_hooks()publicWP 4.7.0

Removes the ajax callback for the meta box.

Method of the class: WP_Taxonomy{}

No Hooks.

Return

null. Nothing (null).

Usage

$WP_Taxonomy = new WP_Taxonomy();
$WP_Taxonomy->remove_hooks();

Changelog

Since 4.7.0 Introduced.

WP_Taxonomy::remove_hooks() code WP 6.4.3

public function remove_hooks() {
	remove_filter( 'wp_ajax_add-' . $this->name, '_wp_ajax_add_hierarchical_term' );
}