Sets up all action and filter hooks for the service.
Description
Source
File: src/apiapi-config.php
protected function setup_hooks() { $this->actions = array( array( 'name' => 'wp_loaded', 'callback' => array( $this, 'trigger_setup_config' ), 'priority' => 10, 'num_args' => 0, ), array( 'name' => "admin_action_{$this->prefix}apiapi_callback", 'callback' => array( $this, 'trigger_listen_for_callback' ), 'priority' => 10, 'num_args' => 0, ), ); }
Changelog
Version | Description |
---|---|
1.0.0 | Introduced. |