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.


Top ↑

Return Return

(void)


Top ↑

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 );

	}


Top ↑

Changelog Changelog

Changelog
Version Description
3.15.0 Introduced.

Top ↑

User Contributed Notes User Contributed Notes

You must log in before being able to contribute a note or feedback.