Technical Docs

Search Documentation

Function: tribe_set_var

Registers a value under a slug in the container.

Located at src/Tribe/Container.php (Line: 191)

Description

Example use:

 tribe_set_var( 'tec.url', 'http://example.com' );

Parameters summary

(string) $slug The human-readable and catchy name of the var.
(mixed) $value The variable value.

Return value summary

(void)

Examples

void tribe_set_var ( string $slug, mixed $value )