LLMS_Abstract_Privacy::add_eraser( stirng $id, string $name, mixed $callback )

Register an eraser


Description Description


Parameters Parameters

$id

(stirng) (Required) Eraser ID

$name

(string) (Required) Human-readable eraser name

$callback

(mixed) (Required) Callback function (callable)


Top ↑

Return Return

(void)


Top ↑

Source Source

File: includes/abstracts/llms.abstract.privacy.php

	public function add_eraser( $id, $name, $callback ) {
		$this->erasers[ $id ] = array(
			'eraser_friendly_name' => $name,
			'callback'             => $callback,
		);
		return $this->erasers;
	}

Top ↑

Changelog Changelog

Changelog
Version Description
3.18.0 Introduced.

Top ↑

User Contributed Notes User Contributed Notes

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





Permalink: