LLMS_Abstract_Processor::unset_data( string $key )
Delete a piece of data from the database by key
Parameters Parameters
- $key
-
(string) (Required) Key name to remove.
Return Return
(void)
Source Source
File: includes/abstracts/llms.abstract.processor.php
public function unset_data( $key ) { $data = $this->get_data(); if ( isset( $data[ $key ] ) ) { unset( $data[ $key ] ); } $this->save_data( $data ); }
Expand full source code Collapse full source code View on GitHub
Changelog Changelog
Version | Description |
---|---|
3.15.0 | Introduced. |