Sets up all action and filter hooks for the service.
Description
Source
File: src/db.php
protected function setup_hooks() { parent::setup_hooks(); $this->actions[] = array( 'name' => 'admin_init', 'callback' => array( $this, 'maybe_flush_rewrite_rules' ), 'priority' => 10, 'num_args' => 0, ); }
Changelog
Version | Description |
---|---|
1.0.0 | Introduced. |