Browse: Home / Functions /

learndash_get_license_data_attrs

learndash_get_license_data_attrs( bool $should_echo = true )

Get license notice attributes.


Description #


Parameters #

$should_echo

(bool) (Optional) Whether to echo the output. Defaults to true.

Default value: true


Return #

(string) Echos the content or returns it as a string.


Source #

File: includes/ld-license.php


Changelog #

Changelog
Version Description
4.18.0 Added $should_echo parameter to allow returning a string. Defaults to echo-ing the output, which was the previous behavior.
3.1.8 Introduced.