WP_Taxonomy::add_hooks()publicWP 4.7.0

Registers 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->add_hooks();

Changelog

Since 4.7.0 Introduced.

WP_Taxonomy::add_hooks() code WP 6.4.3

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