LLMS_Abstract_Privacy::add_exporter( string $id, string $name, callable $callback )
Register an exporter.
Parameters Parameters
- $id
-
(string) (Required) Exporter ID.
- $name
-
(string) (Required) Human-readable exporter name.
- $callback
-
(callable) (Required) Callback function.
Return Return
(array)
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. |