On this page
WP_Taxonomy::add_hooks()
Registers the ajax callback for the meta box.
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' );
}
Related
Uses
| Uses | Description |
|---|---|
| add_filter() wp-includes/plugin.php | Adds a callback function to a filter hook. |
Changelog
| Version | Description |
|---|---|
| 4.7.0 | Introduced. |
© 2003–2022 WordPress Foundation
Licensed under the GNU GPLv2+ License.
https://developer.wordpress.org/reference/classes/wp_taxonomy/add_hooks