Sets up all action and filter hooks for the service.
Description
See also
Source
File: src/modules/protectors/module.php
protected function setup_hooks() { parent::setup_hooks(); $this->actions[] = array( 'name' => "{$this->get_prefix()}verify_form_submission_request", 'callback' => array( $this, 'verify_request' ), 'priority' => 10, 'num_args' => 4, ); $this->actions[] = array( 'name' => "{$this->get_prefix()}form_submit_button_before", 'callback' => array( $this, 'render_output' ), 'priority' => 10, 'num_args' => 1, ); $this->actions[] = array( 'name' => 'init', 'callback' => array( $this, 'register_defaults' ), 'priority' => 100, 'num_args' => 0, ); }
Changelog
Version | Description |
---|---|
1.0.0 | Introduced. |