assign Attribute Name Type Required Default Description var string Yes n/a The name of the variable being assigned value string Yes n/a The value being assigned {assign} is used for assigning template variables during the execution of the template. assign The above example will output: See also assign() and get_template_vars().