Noptin_Hooks::__construct()
Task constructor.
Source Source
File: includes/class-noptin-hooks.php
public function __construct() { // Register our action page's endpoint. add_action( 'init', array( $this, 'add_rewrite_rule' ), 10, 0 ); // Temporarily hide opt-in forms. add_action( 'init', array( $this, 'maybe_hide_optin_forms' ) ); }
Expand full source code Collapse full source code View on GitHub
Changelog Changelog
Version | Description |
---|---|
1.2.9 | Introduced. |