Noptin_Task::__construct( string $action )
Task constructor.
Parameters Parameters
- $action
(string) (Required) (required) The action to fire when running this task.
Source Source
File: includes/class-noptin-task.php
public function __construct( string $action ) { $this->action = sanitize_key( $action ); }
Expand full source code Collapse full source code View on GitHub
Changelog Changelog
Version | Description |
---|---|
1.2.7 | Introduced. |