WP_Taxonomy::add_hooks()
Registers the ajax callback for the meta box.
Contents
Source
File: wp-includes/class-wp-taxonomy.php
.
View all references
public function add_hooks() {
add_filter( 'wp_ajax_add-' . $this->name, '_wp_ajax_add_hierarchical_term' );
}
Changelog
Version | Description |
---|---|
4.7.0 | Introduced. |