Difference between revisions of "NXSL:DeleteCustomAttribute"
Jump to navigation
Jump to search
Tomas Kirnak (talk | contribs) |
|||
Line 21: | Line 21: | ||
== Examples == | == Examples == | ||
<syntaxhighlight lang="c"> | |||
DeleteCustomAttribute($node, "my_attribute"); | |||
</syntaxhighlight> |
Revision as of 18:33, 22 October 2014
Delete node's custom attribute.
Since: 1.2.17
Syntax
DeleteCustomAttribute(node, attributeName)
Parameters
node | Node object, you can use predefined variable $node to refer to current node. You can also use null as node if trusted nodes check is disabled (see Security Issues for more information). |
attributeName | Custom attribute name. |
Return Value
null
Examples
DeleteCustomAttribute($node, "my_attribute");