LLMS_Admin_Tool_Course_Data_Lock_Eraser::handle()

Process the tool.


Description Description

This method should do whatever the tool actually does.

By the time this tool is called a nonce and the user’s capabilities have already been checked.


Top ↑

Return Return

(bool)


Top ↑

Source Source

File: includes/admin/tools/class-llms-admin-tool-course-data-lock-eraser.php

	protected function handle() {

		$res = delete_post_meta_by_key( '_llms_temp_calc_data_lock' );
		wp_cache_delete( $this->id, 'llms_tool_data' );
		return $res;
	}

Top ↑

Changelog Changelog

Changelog
Version Description
9.0.0 Introduced.

Top ↑

User Contributed Notes User Contributed Notes

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