WordPress at a glance
function is not described

WP_Taxonomy::add_hooks() public WP 4.7.0

Registers the ajax callback for the meta box.

{} It's a method of the class: WP_Taxonomy{}

No Hooks.

Return

null. Nothing.

Usage

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

Changelog

Since 4.7.0 Introduced.

Code of WP_Taxonomy::add_hooks() WP 5.7.2

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