Sets up all action and filter hooks for the service.
Description
Source
File: src/db-objects/taxonomy-manager.php
protected function setup_hooks() { $this->actions = array( array( 'name' => 'init', 'callback' => array( $this, 'register_form_category_taxonomy' ), 'priority' => 1, 'num_args' => 0, ), array( 'name' => 'init', 'callback' => array( $this, 'maybe_register_attachment_category_taxonomy' ), 'priority' => 9999, 'num_args' => 0, ), array( 'name' => "{$this->get_prefix()}install", 'callback' => array( $this, 'create_default_attachment_taxonomy_term' ), 'priority' => 10, 'num_args' => 0, ), ); }
Changelog
Version | Description |
---|---|
1.0.0 | Introduced. |