LLMS_Abstract_Processor::unset_data( string $key )
Delete a piece of data from the database by key
Description Description
Parameters Parameters
- $key
-
(string) (Required) key name to remove
Return Return
([type])
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. |
User Contributed Notes User Contributed Notes
Permalink: