LLMS_Abstract_Privacy::add_exporter( stirng $id, string $name, mixed $callback )
Register an exporter
Description Description
Parameters Parameters
- $id
-
(stirng) (Required) exporter ID
- $name
-
(string) (Required) Human-readable exporter name
- $callback
-
(mixed) (Required) Callback function (callable)
Return Return
(void)
Source Source
File: includes/abstracts/llms.abstract.privacy.php
public function add_exporter( $id, $name, $callback ) { $this->exporters[ $id ] = array( 'exporter_friendly_name' => $name, 'callback' => $callback, ); return $this->exporters; }
Expand full source code Collapse full source code View on GitHub
Changelog Changelog
Version | Description |
---|---|
3.18.0 | Introduced. |
User Contributed Notes User Contributed Notes
Permalink: