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.


Top ↑

Return Return

(array)


Top ↑

Source Source

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

186
187
188
189
190
191
192
193
public function add_exporter( $id, $name, $callback ) {
 
    $this->exporters[ $id ] = array(
        'exporter_friendly_name' => $name,
        'callback'               => $callback,
    );
    return $this->exporters;
}

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.