LearnDash_GDPR::format_value

LearnDash_GDPR::format_value( mixed $meta_value = '',  string $meta_type,  object $transaction )

Formats the output value based on variable type.


Description #


Parameters #

$meta_value

(mixed) (Optional) The meta value for reformat.

Default value: ''

$meta_type

(string) (Required) Will be the type of the meta_value. test, date, money etc.

$transaction

(object) (Required) The sfwd-transactions post object being processed.


Return #

(mixed) $meta_value


Source #

File: includes/class-ld-gdpr.php


Changelog #

Changelog
Version Description
2.5.8 Introduced.