Browse: Home / Classes / LearnDash_GDPR /

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) (Required) The meta value for reformat.

$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.