LLMS_Abstract_Processor::set_data( string $key, mixed $value )
Update data to the database related to the processor
Parameters Parameters
- $key
-
(string) (Required) Key name.
- $value
-
(mixed) (Required) Value.
Return Return
(void)
Source Source
File: includes/abstracts/llms.abstract.processor.php
public function set_data( $key, $value ) {
// Get the array of processor data.
$data = $this->get_data();
$data[ $key ] = $value;
$this->save_data( $data );
}
Expand full source code Collapse full source code View on GitHub
Changelog Changelog
| Version | Description |
|---|---|
| 3.15.0 | Introduced. |