Skip to content

Function

Set arbitrary data.

tml_set_data( string|array $name, mixed $value = '' )

Parameters

$name string|array
The property name or an array of properties.
$value mixed Default ''
The property value.

Source

function tml_set_data( $name, $value = '' ) {
    theme_my_login()->set_data( $name, $value );
}

Uses

Used by

Changelog

VersionDescription
7.0 Introduced.